projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix clearChart double-firing
[dygraphs.git]
/
auto_tests
/
tests
/
plugins.js
diff --git
a/auto_tests/tests/plugins.js
b/auto_tests/tests/plugins.js
index
cff1d92
..
5655585
100644
(file)
--- a/
auto_tests/tests/plugins.js
+++ b/
auto_tests/tests/plugins.js
@@
-183,9
+183,8
@@
pluginsTestCase.prototype.testEventSequence = function() {
events = [];
g.updateOptions({series: {Y1: {color: 'blue'}}});
assertEquals([
events = [];
g.updateOptions({series: {Y1: {color: 'blue'}}});
assertEquals([
- "clearChart",
"predraw",
"predraw",
- "clearChart",
// why is clearChart called twice?
+ "clearChart",
"willDrawChart",
"didDrawChart"
], events);
"willDrawChart",
"didDrawChart"
], events);
@@
-207,9
+206,8
@@
pluginsTestCase.prototype.testEventSequence = function() {
assertEquals([
"dataWillUpdate",
"dataDidUpdate",
assertEquals([
"dataWillUpdate",
"dataDidUpdate",
- "clearChart",
"predraw",
"predraw",
- "clearChart",
// why is clearChart called twice?
+ "clearChart",
"willDrawChart",
"didDrawChart"
], events);
"willDrawChart",
"didDrawChart"
], events);