add (failing) test to Ox.minify
This commit is contained in:
parent
d6b7d2e949
commit
0d0ab99060
1 changed files with 2 additions and 0 deletions
|
@ -670,6 +670,8 @@ Ox.minify <f> Minifies JavaScript
|
||||||
source <s> JavaScript source
|
source <s> JavaScript source
|
||||||
file <s> JavaScript file
|
file <s> JavaScript file
|
||||||
callback <f> Callback function
|
callback <f> Callback function
|
||||||
|
> Ox.minify('void/**' + '/0')
|
||||||
|
'void 0'
|
||||||
> Ox.minify('for (a in b)\n{\t\tc = void 0;\n}')
|
> Ox.minify('for (a in b)\n{\t\tc = void 0;\n}')
|
||||||
'for(a in b)\n{c=void 0;}'
|
'for(a in b)\n{c=void 0;}'
|
||||||
> Ox.minify('return a; return 0; return "";')
|
> Ox.minify('return a; return 0; return "";')
|
||||||
|
|
Loading…
Reference in a new issue