chenbo007 / svg-edit

Automatically exported from code.google.com/p/svg-edit
0 stars 0 forks source link

Minify/Compress JavaScript #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We should play with minification and compression for SVG-edit's JavaScript.
 Currently:

svg-editor.js = 23k
svgcanvas.js = 35k

Raw gzip compression takes this down to:

svg-editor.js = 5.7k
svgcanvas.js = 8.6k

Original issue reported on code.google.com by codedr...@gmail.com on 25 Jun 2009 at 5:47

GoogleCodeExporter commented 9 years ago
I totally agreee with this. svg-edit have potential to become a mobile app too.

Original comment by narendra.sisodiya on 26 Jun 2009 at 5:22

GoogleCodeExporter commented 9 years ago
I suggest to use minified files in stable tag and keep uncompressed files in 
trunk 
and branches of the releases.

Original comment by rusn...@gmail.com on 29 Jun 2009 at 5:01

GoogleCodeExporter commented 9 years ago

Original comment by codedr...@gmail.com on 1 Jul 2009 at 10:12

GoogleCodeExporter commented 9 years ago
Did this for the 2.2 branch in r299.  For some reason, YUI's minified CSS does 
not
work when running the editor over the network (but it does work locally).  
Weird.

Original comment by codedr...@gmail.com on 9 Jul 2009 at 4:57