I'm resigning as a moderator from all Stack Exchange sites, effective today. In versions prior to Dojo 1. Sign up using Email and Password. I haven't used the jar or ant to do that, so I don't know how if that will work! Improving the question-asking experience. It also eliminates whitespace and comments when generating the new code. Any help will be greatly appreciated.
Uploader: | Kitilar |
Date Added: | 14 December 2012 |
File Size: | 5.23 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 18123 |
Price: | Free* [*Free Regsitration Required] |
Global references and property names remain unchanged such that external references to the compressed shrnksafe.jar should be safe. It also eliminates whitespace and comments when generating the new code.
Subscribe to RSS
Stack Overflow works best with JavaScript enabled. ShrinkSafe is a standalone Java-based JavaScript compressor which shrinkswfe.jar Rhino to parse code and safely shorten the results. Sign up or log in Sign up using Google.
While ShrinkSafe is available as an online service and part of the shrinkaafe.jar chain for the Dojo Build systemit is also possible to use ShrinkSafe independent of Dojo. Shrinksafe can operate on a list of file or urls, or if none are specified it will use stdin.
Maven Repository: olkit » dojo-shrinksafe »
I'm able to merge the files to a single one using the below command. The is the dojo profile that I'm using. Shrinksafe.jra just removes the comments. This saves bytes on the wire and also provides some obfuscation of the code. Error in the documentation? By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.
Sunil's Notes: Dojo ShrinkSafe
Asked 8 years, 6 months ago. I need to compress and merge multiple JavaScript files in a particular folder to a single file using Shrinksafe. Startpage Dojo Dijit DojoX. Output goes to stdout, which may be redirected to a file or process. Improving the question-asking experience. Sign up using Facebook. I haven't used the jar or ant to do that, so I don't know how if that will work!
Active 8 years, 6 months ago. Stack Overflow for Teams is a private, secure spot for you shrinksafe.jjar your coworkers to find and share information. ShrinkSafe renames local references to short names prefixed with an underscore.
Dileep Dileep 1 1 1 bronze badge. ShrinkSafe has its own jar file, shrinksafe.
Get the usage message with information on optional arguments. Have you tried the online facility for ShrinkSafe Here?
The problem with this is that, it does not put all the script in a single line. How do we handle problem users? Note that the linkage requires the same version of Rhino used to build the shrinksafe.
Download all versions of dojo-shrinksafe JAR files with all dependencies
To override the encoding, use the shrunksafe.jar. Unicorn Meta Zoo 9: In versions prior to Dojo 1. Alternately, you can download ShrinkSafe standalone from http: Post as a guest Name.
Comments
Post a Comment