commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VALIDATOR-142) [validator] compress javascript
Date Wed, 15 Nov 2006 23:02:38 GMT
    [ http://issues.apache.org/jira/browse/VALIDATOR-142?page=comments#action_12450221 ] 
            
Niall Pemberton commented on VALIDATOR-142:
-------------------------------------------

Yes, my bad this was a mistake by me when I created the 1.3.0 release. If it can't find the
dojo compressor it carries on, which is what I'm assuming happened back then.


> [validator] compress javascript
> -------------------------------
>
>                 Key: VALIDATOR-142
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-142
>             Project: Commons Validator
>          Issue Type: Improvement
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Michael Rush
>            Priority: Minor
>
> I've noticed that the javascript files in the commons validator are pretty big in terms
of whitespace. As a 
> result, the static javascript file used on my site (i.e. generated by the html:javascript
tag) is also large, 
> about 43k.
> One way to reduce the size of this file would be to add an optional attribute to JavascriptValidatorTag
that 
> inidicates to compress the output. 
> I'm not sure if there's any existing javascript compressors in the commons project. The
folks at dojo have 
> implemented one using Rhino (http://dojotoolkit.org/docs/compressor_system.html) I'm
sure there are 
> others.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message