projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #499 from danvk/synchronizer
[dygraphs.git]
/
auto_tests
/
tests
/
dygraph-options-tests.js
diff --git
a/auto_tests/tests/dygraph-options-tests.js
b/auto_tests/tests/dygraph-options-tests.js
index
094ebd6
..
7222a21
100644
(file)
--- a/
auto_tests/tests/dygraph-options-tests.js
+++ b/
auto_tests/tests/dygraph-options-tests.js
@@
-64,7
+64,10
@@
var getWarnings = function(div, data, opts) {
console.warn = function(message) {
warnings.push(message.replace(/ \(.*/, ''));
};
console.warn = function(message) {
warnings.push(message.replace(/ \(.*/, ''));
};
- new Dygraph(graph, data, opts);
+ try {
+ new Dygraph(graph, data, opts);
+ } catch (e) {
+ }
console.warn = oldWarn;
return warnings;
};
console.warn = oldWarn;
return warnings;
};