ESC之ESC.wsf可以實現(xiàn)javascript的代碼壓縮附使用方法第3/5頁
更新時間:2007年05月07日 00:00:00 作者:
可以對javascript的大小進行壓縮。使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)文章
原生javascript實現(xiàn)解析XML文檔與字符串
這篇文章主要介紹了javascript解析XML文檔和XML字符串的方法和具體的代碼解析,有需要的小伙伴可以參考下。2016-03-03
分享兩個手機訪問pc網(wǎng)站自動跳轉(zhuǎn)手機端網(wǎng)站代碼
這篇文章主要介紹了分享兩個手機訪問pc網(wǎng)站自動跳轉(zhuǎn)手機端網(wǎng)站代碼,需要的朋友可以參考下2015-01-01
PhantomJS快速入門教程(服務(wù)器端的 JavaScript API 的 WebKit)
Phantom JS是一個服務(wù)器端的 JavaScript API 的 WebKit。其支持各種Web標準: DOM 處理, CSS 選擇器, JSON, Canvas, 和 SVG2015-08-08

