X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=dygraph-utils.js;h=e942f0c94338300895a1713e1cef384ac75c9730;hb=42a9ebb8f492d2541a3904894447a7c74ba4cfd5;hp=b73475d0542d4d7d99ca0720467ed959f1d599a5;hpb=f34f95d1f2fe3adcc0bbe578368740afba513d9f;p=dygraphs.git diff --git a/dygraph-utils.js b/dygraph-utils.js index b73475d..e942f0c 100644 --- a/dygraph-utils.js +++ b/dygraph-utils.js @@ -696,7 +696,7 @@ Dygraph.Iterator = function(array, start, length, predicate) { this.end_ = Math.min(array.length, start + length); this.nextIdx_ = start - 1; // use -1 so initial advance works. this.next(); // ignoring result. -} +}; Dygraph.Iterator.prototype.next = function() { if (!this.hasNext) { @@ -720,7 +720,7 @@ Dygraph.Iterator.prototype.next = function() { this.peek = null; } return obj; -} +}; /** * @private @@ -944,7 +944,7 @@ Dygraph.regularShape_ = function( } ctx.fill(); ctx.stroke(); -} +}; Dygraph.shapeFunction_ = function(sides, rotationRadians, delta) { return function(g, name, ctx, cx, cy, color, radius) { @@ -956,7 +956,7 @@ Dygraph.shapeFunction_ = function(sides, rotationRadians, delta) { Dygraph.DrawPolygon_ = function(sides, rotationRadians, ctx, cx, cy, color, radius, delta) { new Dygraph.RegularShape_(sides, rotationRadians, delta).draw(ctx, cx, cy, radius); -} +}; Dygraph.Circles = { DEFAULT : function(g, name, ctx, canvasx, canvasy, color, radius) {