From 79caf66a2385f9366f3fed25a032de6438cb53af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Fri, 29 Nov 2013 19:53:48 +0100 Subject: [PATCH] Update to latest Straps.js and remove unnecessary isArray argument in Base.each() --- bower.json | 2 +- src/core/PaperScript.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index e023b8db..709e62c0 100644 --- a/bower.json +++ b/bower.json @@ -14,7 +14,7 @@ "test" ], "devDependencies": { - "straps": "~1.3.0", + "straps": "~1.3.1", "acorn": "git://github.com/paperjs/acorn#0.3.2", "esprima": "~1.0.3", "stats.js": "r11" diff --git a/src/core/PaperScript.js b/src/core/PaperScript.js index 95329a2d..9d9b3879 100644 --- a/src/core/PaperScript.js +++ b/src/core/PaperScript.js @@ -363,7 +363,7 @@ paper.PaperScope.prototype.PaperScript = (function(root) { // Mark script as loaded now. script.setAttribute('data-paper-ignore', true); } - }, this, true); // Pass true for asArray to handle HTMLCollection + }, this); } // Catch cases where paper.js is loaded after the browser event has already