Please note the non-standard license in jsmin.py and in particular the
following condition:
"The Software shall be used for Good, not Evil."

On Jan 27, 2:33 pm, [email protected] wrote:
> Reviewers: Mads Ager, plesner,
>
> Message:
> The way I wrote the code is kinda ugly.  Feel free to give me input, I
> could move the annotation code into CompressScript() if it's cleaner.
>
> Additionally, I have an idea in the future to allow you to annotate
> sections of code instead of a while file.  Basically the idea is within
> a .js, you could group the code that would be user visible and the code
> that wouldn't (all of the helpers, global variables, etc).  Then we can
> fully compress everything except the code that we want for .toString()
> output.  I expect this will be a worthwhile savings.
>
> Description:
> Further minify non-visible JavaScript.
>
> This imports a Python version of Douglas Crockford JSMin.  JavaScript
> files can annotate that they want to be run through the minifier.
>
> This results in ~12k savings on the final binary size.
>
> Please review this athttp://codereview.chromium.org/19013
>
> Affected files:
>    M src/debug-delay.js
>    M src/mirror-delay.js
>    M tools/js2c.py
>    A tools/jsmin.py
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to