Labs/Ubiquity/Ubiquity 0.1 Author Tutorial: Difference between revisions

Jump to navigation Jump to search
→‎Using CreateCommand: add link to Ubiquity Code Documentation
(→‎Just a Function: As Simple as it Gets: notifications work in Intrepid, too)
(→‎Using CreateCommand: add link to Ubiquity Code Documentation)
Line 78: Line 78:
This may not seem to be much of a win (and it isn't for simple commands) but as the commands become more complex, you'll see that it helps a lot. For one, you can name the command more freely with the method—unicode non-English characters are now fair game.
This may not seem to be much of a win (and it isn't for simple commands) but as the commands become more complex, you'll see that it helps a lot. For one, you can name the command more freely with the method—unicode non-English characters are now fair game.


There are a number of other useful functions in the CmdUtils namespace. We don't yet have full documentation for these commands, but you'll get a sense of the useful ones in this tutorial. For more detailed information, take a look at [http://hg.toolness.com/ubiquity-firefox/file/9a6c9935da9f/ubiquity/chrome/content/cmdutils.js cmdutils.js].
There are a number of other useful functions in the CmdUtils namespace. We don't yet have full documentation for these commands, but you'll get a sense of the useful ones in this tutorial. For more detailed information, take a look at the [https://ubiquity.mozilla.com/hg/ubiquity-firefox/raw-file/tip/ubiquity/index.html automatically generated documentation] or [http://hg.toolness.com/ubiquity-firefox/file/9a6c9935da9f/ubiquity/chrome/content/cmdutils.js cmdutils.js].


== Adding a Preview ==
== Adding a Preview ==
19

edits

Navigation menu