4 ms·
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 http://utf-8.
by ben174 12y 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 http://utf-8.jp/public/jjencode.html
- pokoleo 12y agoI 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%20JavaScript%22%20)&var=%24 http://utf-8.jp/public/jjencode.html?src=alert(%22Hello%2C%2... [1] https://closure-compiler.appspot.com/code/jsc40b41f282d17ff77479bd0f0b1ef8f97/default.js https://closure-compiler.appspot.com/code/jsc40b41f282d17ff7...