Oops! Forgot to rename createEvent_ in all calls; resulting in lots of test failures.
authorRobert Konigsberg <konigsberg@google.com>
Tue, 14 Jun 2011 19:46:20 +0000 (15:46 -0400)
committerRobert Konigsberg <konigsberg@google.com>
Tue, 14 Jun 2011 19:46:20 +0000 (15:46 -0400)
auto_tests/tests/DygraphOps.js

index e32660c..d792259 100644 (file)
@@ -100,7 +100,7 @@ DygraphOps.dispatchDoubleClick = function(g, custom) {
     type : 'dblclick',
     detail : 2
   };
-  var event = DygraphOps.createEvent_(opts, custom);
+  var event = DygraphOps.createEvent(opts, custom);
   DygraphOps.dispatchCanvasEvent(g, event);
 };
 
@@ -117,7 +117,7 @@ DygraphOps.dispatchMouseDown_Point = function(g, x, y, custom) {
     clientY : pageY,
   };
 
-  var event = DygraphOps.createEvent_(opts, custom);
+  var event = DygraphOps.createEvent(opts, custom);
   DygraphOps.dispatchCanvasEvent(g, event);
 }
 
@@ -133,7 +133,7 @@ DygraphOps.dispatchMouseMove_Point = function(g, x, y, custom) {
     clientY : pageY,
   };
 
-  var event = DygraphOps.createEvent_(opts, custom);
+  var event = DygraphOps.createEvent(opts, custom);
   DygraphOps.dispatchCanvasEvent(g, event);
 };
 
@@ -149,7 +149,7 @@ DygraphOps.dispatchMouseUp_Point = function(g, x, y, custom) {
     clientY : pageY,
   };
 
-  var event = DygraphOps.createEvent_(opts, custom);
+  var event = DygraphOps.createEvent(opts, custom);
   DygraphOps.dispatchCanvasEvent(g, event);
 };