Labs/Jetpack/API

From MozillaWiki
< Labs‎ | Jetpack
Revision as of 08:00, 27 April 2009 by Aza (talk | contribs) (→‎Logger)
Jump to navigation Jump to search

JetPack API Reference

JetPack is a project to explore new and innovative approaches to extensibility of the browser.


Logger Used to output debugging information, it appears in the Javascript Error Console. You can access it from the Tools menu.

  • log( message ) or log({message: string}). Shows a log message in the Error Console.
  • debug( message ) or debug({message: string}). Shows a debug message in the Error Console.
  • info( message ) or info({message: string}). Shows an info message in the Error Console.
  • warn( message ) or warn({message: string}). Shows a warning in the Error Console.
  • error( message ) or error({message: string}). Shows an error message in the Error Console.