Running shrinksafe tutorial
diff --git a/JavascriptRefactoring.wiki b/JavascriptRefactoring.wiki index 421965a..a8397bc 100644 --- a/JavascriptRefactoring.wiki +++ b/JavascriptRefactoring.wiki
@@ -118,6 +118,21 @@ ==Shrinksafe== +Outputs of many javascript compressors have been tested, using this [http://compressorrater.thruhere.net/ online Javascript compressor rater]. Although [http://dean.edwards.name/packer/ Packer] seems to be more efficient, it seems that it can lead to unpredictable output in older browsers, so we might want to use [http://www.dojotoolkit.org/docs/shrinksafe Shrinksafe] to minify our code, as it seems more conservative. + +To run shrinksafe, which is in {{{ ./thirdparty/shrinksafe }}} directory, just run + +{{{ shrinksafe.sh }}} + +from {{{ ./scripts }}} directory. + +It will generate a + +{{{ ./app/soc/content/js_min }}} + +subdirectory, in which you can find all minified files, postfixed with a "min.js". + +This is just a test to see if it would be of any use to us. =Guidelines= In any way, we need: