Task #4080 (closed)
Opened 13 years ago
Closed 13 years ago
Compiler investigation
Reported by: | cxallan | Owned by: | cxallan |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-02-10 (5) |
Description
JavaScript? compilers:
- Google Closure Compiler (http://code.google.com/closure/compiler/)
- Yahoo! YUI Compressor (http://developer.yahoo.com/yui/compressor/)
- Dojo ShrinkSafe? (http://shrinksafe.dojotoolkit.org/)
JavaScript? LINT:
JavaScript? for Java (Rhino):
Related Closure projects:
- Closure Inspector (http://code.google.com/closure/compiler/docs/inspector.html)
- Google Page Speed (http://code.google.com/speed/page-speed/)
A simple example using the Closure Compiler and the YUI Compressor:
$ ls -al omeroweb/media/omeroweb/javascript/actions.js -rw-r--r-- 1 callan staff 19256 28 Jan 16:39 omeroweb/media/omeroweb/javascript/actions.js $ java -jar compiler.jar --js omeroweb/media/omeroweb/javascript/actions.js --js_output_file actions-min.js $ ls -al actions-closure-min.js -rw-r--r-- 1 callan staff 10013 1 Feb 08:48 actions-min.js $ java -jar yuicompressor-2.4.2 omeroweb/media/omeroweb/javascript/actions.js > actions-yui-min.js $ ls -al actions-yui-min.js -rw-r--r-- 1 callan staff 10250 1 Feb 09:01 actions-yui-min.js
Attachments (2)
Change History (4)
Changed 13 years ago by cxallan
comment:1 Changed 13 years ago by cxallan
- Owner set to cxallan
comment:2 Changed 13 years ago by cxallan
- Remaining Time changed from 0.5 to 0
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Closure minimized version of actions.js