Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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:

JavaScript? LINT:

JavaScript? for Java (Rhino):

Related Closure projects:

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)

actions-de629a5-closure-min.js (9.8 KB) - added by cxallan 13 years ago.
Closure minimized version of actions.js
actions-de629a5-yui-min.js (10.0 KB) - added by cxallan 13 years ago.
YUI Compressor minimized version of actions.js

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by cxallan

Closure minimized version of actions.js

Changed 13 years ago by cxallan

YUI Compressor minimized version of actions.js

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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66126 sec.)

We're Hiring!