Created
June 10, 2014 22:09
-
-
Save Inviz/64c0548e17e8ea1388b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules = [ | |
{ | |
type:'constraint', | |
cssText:'(header > h2.gizoogle ! section div:get("parentNode"))[target-size] == 100', | |
commands: [ | |
["eq", | |
["get$", | |
['$pseudo', | |
['$tag', | |
['$combinator', | |
['$tag', | |
['$combinator', | |
['$class', | |
['$tag', | |
['$combinator', | |
['$tag', | |
'header'] | |
'>'] | |
'h2'] | |
'gizoogle'] | |
'!'] | |
'section'] | |
' '] | |
'div'] | |
'get', 'parentNode'] | |
"[target-size]"] | |
["number",100] | |
] | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment