projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd1ad1
)
wrap DygraphOptions
author
Dan Vanderkam
<danvdk@gmail.com>
Wed, 23 Jan 2013 03:12:44 +0000
(22:12 -0500)
committer
Dan Vanderkam
<danvdk@gmail.com>
Wed, 23 Jan 2013 03:12:44 +0000
(22:12 -0500)
dygraph-options.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-options.js
b/dygraph-options.js
index
8ad5509
..
78b556b
100644
(file)
--- a/
dygraph-options.js
+++ b/
dygraph-options.js
@@
-4,7
+4,9
@@
* Still tightly coupled to Dygraphs, we could remove some of that, you know.
*/
-/*jshint globalstrict:true, sub:true */
+var DygraphOptions = (function() {
+
+/*jshint sub:true */
/*global Dygraph:false */
"use strict";
@@
-349,3
+351,7
@@
DygraphOptions.prototype.seriesNames = function() {
DygraphOptions.prototype.indexOfSeries = function(series) {
return this.series_[series].idx;
};
+
+return DygraphOptions;
+
+})();