--- a/front_js/gestures/index.html Mon Jul 09 14:24:42 2012 +0200
+++ b/front_js/gestures/index.html Fri Jul 13 14:57:43 2012 +0200
@@ -37,16 +37,17 @@
<script type="text/javascript">
var gts;
- var config = new Object();
-
- config["timeShowGesture"] = 1000;
- config["host"] = "127.0.0.1";
- config["port"] = 8090;
+ var config =
+ {
+ timeShowGesture: 1000,
+ host: '127.0.0.1',
+ port: 8090
+ };
//Si la page a chargé, on charge les pointeurs.
$(document).ready(function ()
{
- gts = new gestures(config);
+ gts = new Gestures(config);
});
</script>
</body>