Labs/Ubiquity/Ubiquity Source Tip Author Tutorial: Difference between revisions

Jump to navigation Jump to search
→‎Firebug: updated content to reflect current workings of ubiquity
(→‎Sharing it with the World: removed outdated mime-type information)
(→‎Firebug: updated content to reflect current workings of ubiquity)
Line 908: Line 908:
== Firebug ==
== Firebug ==


You should enable Chrome Errors and Warnings if you want the errors in your code to appear in the Firebug console. Use CmdUtils.log() rather than console.log() ''Note: For now, you can only pass one argument to log()''
Ubiquity automatically enables Chrome Errors and Warnings on startup so that errors in your code appear in the Firebug console. Just use <tt>CmdUtils.log()</tt> rather than <tt>console.log()</tt>.


= Conclusion =
= Conclusion =
874

edits

Navigation menu