projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable "strict" mode -- and fix one missing "var" declaration.
[dygraphs.git]
/
dygraph-layout.js
diff --git
a/dygraph-layout.js
b/dygraph-layout.js
index
5fd6e52
..
7948686
100644
(file)
--- a/
dygraph-layout.js
+++ b/
dygraph-layout.js
@@
-9,6
+9,8
@@
* dygraphs.
*/
* dygraphs.
*/
+"use strict";
+
/**
* Creates a new DygraphLayout object.
*
/**
* Creates a new DygraphLayout object.
*
@@
-25,7
+27,7
@@
*
* @constructor
*/
*
* @constructor
*/
-DygraphLayout = function(dygraph) {
+
var
DygraphLayout = function(dygraph) {
this.dygraph_ = dygraph;
this.datasets = new Array();
this.annotations = new Array();
this.dygraph_ = dygraph;
this.datasets = new Array();
this.annotations = new Array();