Forum closed. New forum available at http://community.wymeditor.org/

closure compiler + wym?

Support forum for WYMeditor.

closure compiler + wym?

Postby coffeecup on Wed Jun 02, 2010 9:58 pm

since jquery uses googles closure compiler for minimization it would be nice to see also wym compile with it.

those regexp for path finding seem to mess up the compiler, i also fail minimizing wym when using whitespace_only as packing option.
coffeecup
 
Posts: 1
Joined: Wed Jun 02, 2010 9:54 pm

Re: closure compiler + wym?

Postby mr_lundis on Thu Jun 03, 2010 8:42 pm

Hi!
I have no experience with Google's Closure Compiler so I don't think I'll be able to help. However, if you can figure out what's causing this I'd be happy to include a fix.

Cheers! ;)
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden

Re: closure compiler + wym?

Postby mr_lundis on Tue Jun 08, 2010 6:16 pm

Okay, now I've tried this out, and you should be able to use Closure Complier just fine. It does throw some warnings though, for some JSDoc @param comments that are entered backwards but those doesn't seem to affect the final result.

I used the hosted compiler here:
http://closure-compiler.appspot.com/home

And these are my results using the "simple" mode:
http://closure-compiler.appspot.com/cod ... default.js

Original source (nightly):
http://files.wymeditor.org/wymeditor/tr ... meditor.js

Cheers! ;)
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest