Don’t Rely on Firebug or the Cajoled JavaScript Source Code
As we’ve seen in the cajoled scripts we’ve built thus far, the cajoled JavaScript is not output in a very human-readable form. This means that traditional frontend engineering methods for parsing scripts, such as Firebug, are no longer very effective unless you’re really familiar with the functionality of the cajoled code.
Some of the best methods available for working with the functionality of the JavaScript layer are those that we have already explored: JSLint and the Caja Playground. JSLint will allow you to test the viability of the JavaScript for the Caja process, and the Caja Playground will allow you to test the individual functions and features of a JavaScript block.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access