[Pkg-javascript-devel] Bug#750716: coffeescript: FTBFS against uglify 2.x series - Cannot call method 'parse' of undefined

beuc at debian.org beuc at debian.org
Sun Nov 16 11:52:41 UTC 2014


Control: tag -1 +patch 

Hi from the Paris Bugs Squashing Party :)

It seems that the current code relies on functions not available in
Uglify anymore:

$ grep -ir ast_mangle /usr/lib/nodejs/uglify-js/
$ grep -ir ast_squeeze /usr/lib/nodejs/uglify-js/

So probably the package.json is incorrect.


The attached attached patch appears to work, I just followed
https://github.com/mishoo/UglifyJS2#the-simple-way


Cheers!
Sylvain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uglify2.patch
Type: text/x-diff
Size: 607 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20141116/5da05b25/attachment.patch>


More information about the Pkg-javascript-devel mailing list