projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump to version 2 🎉
[dygraphs.git]
/
auto_tests
/
tests
/
DygraphOps.js
diff --git
a/auto_tests/tests/DygraphOps.js
b/auto_tests/tests/DygraphOps.js
index
52f5943
..
460547b
100644
(file)
--- a/
auto_tests/tests/DygraphOps.js
+++ b/
auto_tests/tests/DygraphOps.js
@@
-18,6
+18,7
@@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
+import * as utils from '../../src/dygraph-utils';
/**
* @fileoverview Utility functions for Dygraphs.
/**
* @fileoverview Utility functions for Dygraphs.
@@
-109,7
+110,7
@@
DygraphOps.dispatchDoubleClick = function(g, custom) {
* type, screenX, screenY, clientX, clientY.
*/
DygraphOps.createOptsForPoint_ = function(g, type, x, y) {
* type, screenX, screenY, clientX, clientY.
*/
DygraphOps.createOptsForPoint_ = function(g, type, x, y) {
- var pos =
Dygraph
.findPos(g.canvas_);
+ var pos =
utils
.findPos(g.canvas_);
var pageX = pos.x + x;
var pageY = pos.y + y;
var pageX = pos.x + x;
var pageY = pos.y + y;
@@
-213,3
+214,5
@@
DygraphOps.dispatchMouseOut = function(g, x, y, custom) {
custom);
};
custom);
};
+
+export default DygraphOps;