fixed up context clip method

This commit is contained in:
Eric Rowell
2013-09-02 21:19:14 -07:00
parent 7ac45b7c4c
commit 43376556a4

View File

@@ -216,8 +216,7 @@
this._context.clearRect(a[0], a[1], a[2], a[3]); this._context.clearRect(a[0], a[1], a[2], a[3]);
}, },
clip: function() { clip: function() {
var a = arguments; this._context.clip();
this._context.clip(a[0], a[1], a[2], a[3]);
}, },
closePath: function() { closePath: function() {
this._context.closePath(); this._context.closePath();