projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Changes from code review:
[dygraphs.git]
/
auto_tests
/
tests
/
DygraphOps.js
diff --git
a/auto_tests/tests/DygraphOps.js
b/auto_tests/tests/DygraphOps.js
index
4dae18e
..
d792259
100644
(file)
--- a/
auto_tests/tests/DygraphOps.js
+++ b/
auto_tests/tests/DygraphOps.js
@@
-51,7
+51,7
@@
DygraphOps.defaultEvent_ = {
* @param command the command to create.
* @param custom an associative array of event attributes and their new values.
*/
* @param command the command to create.
* @param custom an associative array of event attributes and their new values.
*/
-DygraphOps.createEvent
_
= function(command, custom) {
+DygraphOps.createEvent = function(command, custom) {
var copy = function(from, to) {
if (from != null) {
var copy = function(from, to) {
if (from != null) {
@@
-91,7
+91,7
@@
DygraphOps.createEvent_ = function(command, custom) {
/**
* Dispatch an event onto the graph's canvas.
*/
/**
* Dispatch an event onto the graph's canvas.
*/
-DygraphOps.dispatchCanvasEvent(g, event) {
+DygraphOps.dispatchCanvasEvent
= function
(g, event) {
g.canvas_.dispatchEvent(event);
}
g.canvas_.dispatchEvent(event);
}
@@
-100,7
+100,7
@@
DygraphOps.dispatchDoubleClick = function(g, custom) {
type : 'dblclick',
detail : 2
};
type : 'dblclick',
detail : 2
};
- var event = DygraphOps.createEvent
_
(opts, custom);
+ var event = DygraphOps.createEvent(opts, custom);
DygraphOps.dispatchCanvasEvent(g, event);
};
DygraphOps.dispatchCanvasEvent(g, event);
};
@@
-117,7
+117,7
@@
DygraphOps.dispatchMouseDown_Point = function(g, x, y, custom) {
clientY : pageY,
};
clientY : pageY,
};
- var event = DygraphOps.createEvent
_
(opts, custom);
+ var event = DygraphOps.createEvent(opts, custom);
DygraphOps.dispatchCanvasEvent(g, event);
}
DygraphOps.dispatchCanvasEvent(g, event);
}
@@
-133,7
+133,7
@@
DygraphOps.dispatchMouseMove_Point = function(g, x, y, custom) {
clientY : pageY,
};
clientY : pageY,
};
- var event = DygraphOps.createEvent
_
(opts, custom);
+ var event = DygraphOps.createEvent(opts, custom);
DygraphOps.dispatchCanvasEvent(g, event);
};
DygraphOps.dispatchCanvasEvent(g, event);
};
@@
-149,7
+149,7
@@
DygraphOps.dispatchMouseUp_Point = function(g, x, y, custom) {
clientY : pageY,
};
clientY : pageY,
};
- var event = DygraphOps.createEvent
_
(opts, custom);
+ var event = DygraphOps.createEvent(opts, custom);
DygraphOps.dispatchCanvasEvent(g, event);
};
DygraphOps.dispatchCanvasEvent(g, event);
};