ESC之ESC.wsf可以實(shí)現(xiàn)javascript的代碼壓縮附使用方法第3/5頁
更新時(shí)間:2007年05月07日 00:00:00 作者:
可以對javascript的大小進(jìn)行壓縮。使javascript的加載速度變快。
Commandline options |
There are a set of options available to provide full control of how you want your source files treated. This list is also available by running ESC with the -help option, but I'll try to explain some of them here more indepth. |
|
----------------------------------------------------------- Usage : ESC.wsf -l [0-4] -ow output.js foo.js bar.js C:\scripts\baz ----------------------------------------------------------- -a [-about] : Description page -c [-copyright] : Copyright/license notice -e [-example] : Examples of usage -h [-help] : This help-screen ----------------------------------------------------------- -l [-level] [01(2)34] : [optional] Set crunch-level (4 sets -$ on) -s [-silent] : [optional] Run silent, nada stdout -v [-verbose] : [optional] Run in verbose mode -$ : [optional] Activate variable-substitution engine ----------------------------------------------------------- -oa <filename> : Target filename for appending -ow <filename> : Target filename for writing -ow STDOUT : Write stream to STDOUT ----------------------------------------------------------- <input-file(s)> : [required] file(s) and/or directories containing scripts to crunch... (If filenames contains spaces, they must be quoted) |
相關(guān)文章
form表單數(shù)據(jù)封裝成json格式并提交給服務(wù)器的實(shí)現(xiàn)方法
下面小編就為大家分享一篇form表單數(shù)據(jù)封裝成json格式并提交給服務(wù)器的實(shí)現(xiàn)方法,具有很好的參考價(jià)值,希望對大家有所幫助。一起跟隨小編過來看看吧2017-12-12JS實(shí)現(xiàn)屏蔽網(wǎng)頁右鍵復(fù)制及ctrl+c復(fù)制的方法【2種方法】
這篇文章主要介紹了JS實(shí)現(xiàn)屏蔽網(wǎng)頁右鍵復(fù)制及ctrl+c復(fù)制的方法,結(jié)合實(shí)例形式分析了2種比較常用的屏蔽復(fù)制功能的技巧,需要的朋友可以參考下2016-09-09