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

Corrected locations of commands and noun types.
(labs.toolness.com -> ubiquity.mozilla.com)
(Corrected locations of commands and noun types.)
Line 67: Line 67:
To get started, you may want to first take a look at the built-in commands and built-in noun types, which are in the files:
To get started, you may want to first take a look at the built-in commands and built-in noun types, which are in the files:


   ubiquity/chrome/content/builtincmds.js (TODO: no longer here. update this section)
   ubiquity/builtin-feeds/en/builtincmds.js
   ubiquity/chrome/content/nlparser/en/nountypes.js
   ubiquity/feed-parts/header/en/nountypes.js


These files are dynamically loaded, so if you make any changes to them, all you have to do is save the file, then go back to Firefox and hit alt-space to bring up Ubiquity again.  Your changes will be reflected immediately.  There's no need to rebuild your extension or restart Firefox.
These files are dynamically loaded, so if you make any changes to them, all you have to do is save the file, then go back to Firefox and hit alt-space to bring up Ubiquity again.  Your changes will be reflected immediately.  There's no need to rebuild your extension or restart Firefox.