ajaxmin inputfile.js
ajaxmin inputfile.js –out outputfile.js
ajaxmin inputfile.js –out outputfile.js –clobber
ajaxmin –rename:none inputfile.js –out outputfile.js
var L_hello_text = "Hello there! "; alert(L_hello_text);
ajaxmin –rename:localization inputfile.js –out outputfile.js
debugger; Web.Debug.Output("foo"); $Debug.Track("bar"); Debug.fail("debug fail"); WAssert(condition,message); var wnd = new $Debug.DebugWindow(); Will be reduced to this: var wnd={};
///#DEBUG Code between these two comments will be removed in normal mode, and only shown when in debug mode ///#ENDDEBUG