}
this.restore();
- x1 = x2, y1 = y2;
+ x1 = x2;
+ y1 = y2;
}
}
realStroke.call(this);
CanvasRenderingContext2D.prototype.uninstallPattern = function() {
// This will be replaced by a non-error version when a pattern is installed.
throw "Must install a line pattern before uninstalling it.";
-}
+};