Created
December 14, 2011 00:22
-
-
Save IgorMinar/1474608 to your computer and use it in GitHub Desktop.
Misko's antiminification
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
case 8: /* Comment */ | |
match = COMMENT_DIRECTIVE_REGEXP.exec(node.nodeValue); | |
- if (match && | |
- (directive = getDirective(nName = camelCase(match[1])))) { | |
- attrs[nName] = trim(match[2]); | |
- directives.push(directive); | |
+ if (match) { | |
+ nName = camelCase(match[1]); | |
+ directive = getDirective(nName); | |
+ if (directive) { | |
+ attrs[nName] = trim(match[2]); | |
+ directives.push(directive); | |
+ } | |
} | |
break; |
Author
IgorMinar
commented
Dec 14, 2011
min | min+gzip | |
---|---|---|
misko | 73272 | 28225 |
igor | 73256 | 28214 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment