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 83 attachment: spriteme-fontface2.patch (541 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: spriteme.js
===================================================================
--- spriteme.js (revision 30)
+++ spriteme.js (working copy)
@@ -700,8 +700,8 @@
}
var bgPos = rule.style.backgroundPosition;
var bgImage = rule.style.backgroundImage;
- if ( -1 != rule.selectorText.indexOf('spriteme') ) {
- // don't analyze SpriteMe rules
+ if ( !(rule instanceof CSSStyleRule) || -1 != rule.selectorText.indexOf('spriteme') ) {
+ // don't analyze SpriteMe rules or font-face rules
continue;
}

Powered by Google Project Hosting