Fix: Empty stylesheet error.

This commit is contained in:
surunzi
2016-03-17 13:34:08 +08:00
parent 3e6da90b74
commit 04c51025ed
2 changed files with 3 additions and 1 deletions

View File

@@ -46,6 +46,8 @@ export default class CssStore
util.each(document.styleSheets, (styleSheet) =>
{
if (!styleSheet.cssRules) return;
util.each(styleSheet.cssRules, (cssRule) =>
{
var matchesEl = false;