Closed masterkain closed 13 years ago
A broken pipe inside of the Closure Compiler often means that your JavaScript has a syntax error.
I'd watch out for JS keywords like char
and float
being used as variable names and object keys -- that always gets me.
e.g.
$("#foo").css({float: "left"})
will often cause JS minifiers like YUI to fail.
I was suspecting that jammit wasn't the culprit here.
However we are upgrading our app to rails 3.1 and the same js/css gets minified well in rails 2.3 + jammit.
I'll take a second look, too bad the stack trace does not indicate what's failing; maybe this version of the closure gem got more strict.