diff --git a/src/document/Doc.js b/src/document/Doc.js index df2a5b58..62a6a864 100644 --- a/src/document/Doc.js +++ b/src/document/Doc.js @@ -39,7 +39,7 @@ Doc = Base.extend({ if (this.canvas) { // Initial tests conclude that clearing the canvas using clearRect // is always faster than setting canvas.width = canvas.width - // http://jsperf.com/clearrect-vs-setting-width/ + // http://jsperf.com/clearrect-vs-setting-width/7 var view = this.activeView; var bounds = view.bounds; this.ctx.clearRect(0, 0, this.size.width + 1, this.size.height + 1);