We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8956adc commit 0a6badfCopy full SHA for 0a6badf
rule.coffee
@@ -241,7 +241,7 @@ class Rule
241
child = element.firstElementChild
242
while (child)
243
# If no class name you can skip setting up the dictionary
244
- if child.getAttribute('class') isnt ''
+ if typeof(child.getAttribute('class')) is 'string'
245
for elementKey in child.getAttribute('class').split(' ')
246
elementKey = '.' + elementKey
247
# Check existing dictionary array
0 commit comments