My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 89 attachment: spriteme.js.patch (371 bytes)

1
2
3
4
5
6
7
8
9
10
11
--- trunk/spriteme.js
+++ trunk/spriteme.js
@@ -692,6 +692,8 @@
}

// Loop through each rule
+ // Rule might be empty, skip to satisfy strict JS engines (Chrome)
+ if (null == aRules) continue;
for ( var r = 0, nRules = aRules.length; r < nRules; r++ ) {
var rule = aRules[r];
if ( "undefined" === typeof(rule.style) ) {
Powered by Google Project Hosting