From: Robert Konigsberg Date: Tue, 14 Jun 2011 19:46:20 +0000 (-0400) Subject: Oops! Forgot to rename createEvent_ in all calls; resulting in lots of test failures. X-Git-Tag: v1.0.0~458^2~4 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=914805d32fedbb78aa9d0e615255f1c47fe54c71;p=dygraphs.git Oops! Forgot to rename createEvent_ in all calls; resulting in lots of test failures. --- diff --git a/auto_tests/tests/DygraphOps.js b/auto_tests/tests/DygraphOps.js index e32660c..d792259 100644 --- a/auto_tests/tests/DygraphOps.js +++ b/auto_tests/tests/DygraphOps.js @@ -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); };