From: Dan Vanderkam Date: Wed, 23 Jan 2013 03:12:44 +0000 (-0500) Subject: wrap DygraphOptions X-Git-Tag: v1.0.0~120 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=384bfa4a1e76d45904399c6bf17d242b49e1fbd1;p=dygraphs.git wrap DygraphOptions --- diff --git a/dygraph-options.js b/dygraph-options.js index 8ad5509..78b556b 100644 --- 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; + +})();