Closed GoogleCodeExporter closed 9 years ago
Caja requires that all scripts be compatible with ES5 strict mode. This is a
fundamental part of our design and cannot be relaxed. I've confirmed that
.../2.1.1/jquery.min.js does contain that error in strict mode independent of
Caja.
Since you say unminified 2.1.1 is OK, I would say that the minifier is at fault
(it must have moved a function declaration inside a block) and a bug should be
filed against it. You could also minify JQuery with a different tool that does
not make this mistake.
Original comment by kpreid@google.com
on 3 Dec 2014 at 7:10
Original comment by erights
on 3 Dec 2014 at 7:37
Original issue reported on code.google.com by
pradeep....@gmail.com
on 3 Dec 2014 at 3:47Attachments: