documentcloud / jammit

Industrial Strength Asset Packaging for Rails
http://documentcloud.github.com/jammit/
MIT License
1.16k stars 197 forks source link

test failure: test_javascript_compression(ClosureCompressorTest) [./test/unit/test_closure_compressor.rb:16] #35

Closed ghazel closed 14 years ago

ghazel commented 14 years ago

parsed is: var a=function(){return this.constructor.prototype}();console.log("hello, "+a);

test/fixtures/jammed/test-closure.js is: console.log("hello, "+function(){return this.constructor.prototype}());

jashkenas commented 14 years ago

Update your version of the Closure-Compiler gem, and try again. Let me know if it doesn't work for you.

ghazel commented 14 years ago

Worked. I guess I expected "rake test" to complain about dependencies. Obviously it doesn't.