From a518b3fd190aaafbf8784291f2e5be95ca01b353 Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Thu, 30 Jun 2011 11:02:49 -0400 Subject: [PATCH] Remove non-whitespace change --- src/ui/View.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/View.js b/src/ui/View.js index ab712b84..6c9477e7 100644 --- a/src/ui/View.js +++ b/src/ui/View.js @@ -37,9 +37,9 @@ var View = this.View = Base.extend(/** @lends View# */{ var size; if (canvas && canvas instanceof HTMLCanvasElement) { this._canvas = canvas; - // If the canvas has the data-resize attribute, resize the it to fill the + // If the canvas has the resize attribute, resize the it to fill the // window and resize it again whenever the user resizes the window. - if (canvas.attributes["data-resize"]) { + if (canvas.attributes.resize) { // Subtract canvas' viewport offset from the total size, to // stretch it in var offset = DomElement.getOffset(canvas, false, true),