Hacker News new | ask | show | jobs
by ben174 4084 days ago
I just tried running some jjencode'd js through your closure compiler and it didn't clean it up much at all.

http://utf-8.jp/public/jjencode.html

1 comments

I did too - you need to poke around with the compiler settings.

For jjEncode's sample `alert("Hello, JavaScript" )`[0], the first step of the post's analysis is done for you[1], if you set closure compiler on "advanced mode".

That being said, double-jjEncoding the sample `alert("Hello, JavaScript" )` stumps the closure compiler.

[0] http://utf-8.jp/public/jjencode.html?src=alert(%22Hello%2C%2... [1] https://closure-compiler.appspot.com/code/jsc40b41f282d17ff7...