Merge pull request #199 from witsa/master
[dygraphs.git] / 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);
 };