Permalink
Browse files

Cleaned out old release

  • Loading branch information...
1 parent 771d38b commit 5e1a664f405a2b5b894d7c242d58f10445ab65bd @wbamberg wbamberg committed Oct 18, 2012
Showing with 0 additions and 74,380 deletions.
  1. +0 −892 dev-guide-source/cfx-tool.md
  2. +0 −46 dev-guide-source/console.md
  3. +0 −68 dev-guide-source/credits.md
  4. +0 −73 dev-guide-source/glossary.md
  5. +0 −146 dev-guide-source/guides/commonjs.md
  6. +0 −124 dev-guide-source/guides/content-scripts/accessing-the-dom.md
  7. +0 −246 dev-guide-source/guides/content-scripts/communicating-with-other-scripts.md
  8. +0 −93 dev-guide-source/guides/content-scripts/index.md
  9. +0 −79 dev-guide-source/guides/content-scripts/loading.md
  10. +0 −71 dev-guide-source/guides/content-scripts/reddit-example.md
  11. +0 −183 dev-guide-source/guides/content-scripts/using-port.md
  12. +0 −184 dev-guide-source/guides/content-scripts/using-postmessage.md
  13. +0 −153 dev-guide-source/guides/events.md
  14. +0 −103 dev-guide-source/guides/firefox-compatibility.md
  15. +0 −181 dev-guide-source/guides/index.md
  16. +0 −218 dev-guide-source/guides/library-detector.md
  17. +0 −117 dev-guide-source/guides/module-search.md
  18. +0 −33 dev-guide-source/guides/program-id.md
  19. +0 −107 dev-guide-source/guides/sdk-vs-xul.md
  20. +0 −119 dev-guide-source/guides/two-types-of-scripts.md
  21. +0 −325 dev-guide-source/guides/xul-migration.md
  22. +0 −16 dev-guide-source/high-level-apis.md
  23. +0 −151 dev-guide-source/index.md
  24. +0 −34 dev-guide-source/low-level-apis.md
  25. +0 −119 dev-guide-source/package-spec.md
  26. +0 −7 dev-guide-source/third-party-apis.md
  27. +0 −88 dev-guide-source/tutorials/add-a-context-menu-item.md
  28. +0 −122 dev-guide-source/tutorials/adding-menus.md
  29. +0 −170 dev-guide-source/tutorials/adding-toolbar-button.md
  30. +0 −344 dev-guide-source/tutorials/annotator/creating.md
  31. +0 −213 dev-guide-source/tutorials/annotator/displaying.md
  32. +0 −31 dev-guide-source/tutorials/annotator/index.md
  33. +0 −63 dev-guide-source/tutorials/annotator/overview.md
  34. +0 −369 dev-guide-source/tutorials/annotator/storing.md
  35. +0 −115 dev-guide-source/tutorials/annotator/widget.md
  36. +0 −105 dev-guide-source/tutorials/chrome.md
  37. +0 −151 dev-guide-source/tutorials/display-a-popup.md
  38. +0 −273 dev-guide-source/tutorials/event-targets.md
  39. +0 −170 dev-guide-source/tutorials/getting-started-with-cfx.md
  40. +0 −244 dev-guide-source/tutorials/index.md
  41. +0 −154 dev-guide-source/tutorials/installation.md
  42. +0 −369 dev-guide-source/tutorials/l10n.md
  43. +0 −73 dev-guide-source/tutorials/list-open-tabs.md
  44. +0 −55 dev-guide-source/tutorials/listen-for-page-load.md
  45. +0 −103 dev-guide-source/tutorials/load-and-unload.md
  46. +0 −67 dev-guide-source/tutorials/logging.md
  47. +0 −247 dev-guide-source/tutorials/mobile.md
  48. +0 −153 dev-guide-source/tutorials/modifying-web-pages-tab.md
  49. +0 −227 dev-guide-source/tutorials/modifying-web-pages-url.md
  50. +0 −57 dev-guide-source/tutorials/open-a-web-page.md
  51. +0 −413 dev-guide-source/tutorials/reusable-modules.md
  52. +0 −208 dev-guide-source/tutorials/troubleshooting.md
  53. +0 −163 dev-guide-source/tutorials/unit-testing.md
  54. +0 −1,128 dev-guide/cfx-tool.html
  55. +0 −353 dev-guide/console.html
  56. +0 −391 dev-guide/credits.html
  57. +0 −379 dev-guide/glossary.html
  58. +0 −456 dev-guide/guides/commonjs.html
  59. +0 −433 dev-guide/guides/content-scripts/accessing-the-dom.html
  60. +0 −537 dev-guide/guides/content-scripts/communicating-with-other-scripts.html
  61. +0 −402 dev-guide/guides/content-scripts/index.html
  62. +0 −397 dev-guide/guides/content-scripts/loading.html
  63. +0 −386 dev-guide/guides/content-scripts/reddit-example.html
  64. +0 −482 dev-guide/guides/content-scripts/using-port.html
  65. +0 −485 dev-guide/guides/content-scripts/using-postmessage.html
  66. +0 −461 dev-guide/guides/events.html
  67. +0 −409 dev-guide/guides/firefox-compatibility.html
  68. +0 −501 dev-guide/guides/index.html
  69. +0 −515 dev-guide/guides/library-detector.html
  70. +0 −433 dev-guide/guides/module-search.html
  71. +0 −352 dev-guide/guides/program-id.html
  72. +0 −423 dev-guide/guides/sdk-vs-xul.html
  73. +0 −428 dev-guide/guides/two-types-of-scripts.html
  74. +0 −605 dev-guide/guides/xul-migration.html
  75. +0 −338 dev-guide/high-level-apis.html
  76. +0 −470 dev-guide/index.html
  77. +0 −360 dev-guide/low-level-apis.html
  78. +0 −450 dev-guide/package-spec.html
  79. +0 −329 dev-guide/third-party-apis.html
  80. +0 −393 dev-guide/tutorials/add-a-context-menu-item.html
  81. +0 −431 dev-guide/tutorials/adding-menus.html
  82. +0 −468 dev-guide/tutorials/adding-toolbar-button.html
  83. +0 −623 dev-guide/tutorials/annotator/creating.html
  84. +0 −507 dev-guide/tutorials/annotator/displaying.html
  85. +0 −356 dev-guide/tutorials/annotator/index.html
  86. +0 −375 dev-guide/tutorials/annotator/overview.html
  87. +0 −651 dev-guide/tutorials/annotator/storing.html
  88. +0 −421 dev-guide/tutorials/annotator/widget.html
  89. +0 −404 dev-guide/tutorials/chrome.html
  90. +0 −460 dev-guide/tutorials/display-a-popup.html
  91. +0 −579 dev-guide/tutorials/event-targets.html
  92. +0 −466 dev-guide/tutorials/getting-started-with-cfx.html
  93. +0 −564 dev-guide/tutorials/index.html
  94. +0 −449 dev-guide/tutorials/installation.html
  95. +0 −640 dev-guide/tutorials/l10n.html
  96. +0 −388 dev-guide/tutorials/list-open-tabs.html
  97. +0 −370 dev-guide/tutorials/listen-for-page-load.html
  98. +0 −407 dev-guide/tutorials/load-and-unload.html
  99. +0 −379 dev-guide/tutorials/logging.html
  100. +0 −540 dev-guide/tutorials/mobile.html
  101. +0 −453 dev-guide/tutorials/modifying-web-pages-tab.html
  102. +0 −520 dev-guide/tutorials/modifying-web-pages-url.html
  103. +0 −372 dev-guide/tutorials/open-a-web-page.html
  104. +0 −695 dev-guide/tutorials/reusable-modules.html
  105. +0 −477 dev-guide/tutorials/troubleshooting.html
  106. +0 −475 dev-guide/tutorials/unit-testing.html
  107. +0 −2 docs-tools/git_clean.sh
  108. +0 −1 docs-tools/git_push.sh
  109. +0 −470 index.html
  110. +0 −12 packages/addon-kit/README.md
  111. +0 −362 packages/addon-kit/addon-page.html
  112. +0 −440 packages/addon-kit/clipboard.html
  113. +0 −1,179 packages/addon-kit/context-menu.html
  114. +0 −431 packages/addon-kit/hotkeys.html
  115. +0 −426 packages/addon-kit/index.html
  116. +0 −443 packages/addon-kit/l10n.html
  117. +0 −419 packages/addon-kit/notifications.html
  118. +0 −807 packages/addon-kit/page-mod.html
  119. +0 −741 packages/addon-kit/page-worker.html
  120. +0 −1,021 packages/addon-kit/panel.html
  121. +0 −935 packages/addon-kit/passwords.html
  122. +0 −398 packages/addon-kit/private-browsing.html
  123. +0 −591 packages/addon-kit/request.html
  124. +0 −423 packages/addon-kit/selection.html
  125. +0 −452 packages/addon-kit/self.html
  126. +0 −632 packages/addon-kit/simple-prefs.html
  127. +0 −533 packages/addon-kit/simple-storage.html
  128. +0 −832 packages/addon-kit/tabs.html
  129. +0 −423 packages/addon-kit/timers.html
  130. +0 −1,369 packages/addon-kit/widget.html
  131. +0 −632 packages/addon-kit/windows.html
  132. +0 −35 packages/api-utils/README.md
  133. +0 −509 packages/api-utils/api-utils.html
  134. +0 −427 packages/api-utils/app-strings.html
  135. +0 −403 packages/api-utils/base64.html
  136. +0 −471 packages/api-utils/byte-streams.html
  137. +0 −473 packages/api-utils/collection.html
  138. +0 −340 packages/api-utils/content.html
  139. +0 −439 packages/api-utils/content/loader.html
  140. +0 −581 packages/api-utils/content/proxy.html
  141. +0 −502 packages/api-utils/content/symbiont.html
  142. +0 −518 packages/api-utils/content/worker.html
  143. +0 −475 packages/api-utils/cortex.html
  144. +0 −336 packages/api-utils/cuddlefish.html
  145. +0 −366 packages/api-utils/environment.html
  146. +0 −410 packages/api-utils/errors.html
  147. +0 −375 packages/api-utils/event/core.html
  148. +0 −410 packages/api-utils/event/target.html
  149. +0 −445 packages/api-utils/events.html
  150. +0 −556 packages/api-utils/file.html
  151. +0 −386 packages/api-utils/frame/utils.html
  152. +0 −407 packages/api-utils/globals.html
  153. +0 −585 packages/api-utils/heritage.html
  154. +0 −421 packages/api-utils/hidden-frame.html
  155. +0 −359 packages/api-utils/httpd.html
  156. +0 −506 packages/api-utils/index.html
  157. +0 −595 packages/api-utils/light-traits.html
  158. +0 −496 packages/api-utils/list.html
  159. +0 −786 packages/api-utils/loader.html
  160. +0 −603 packages/api-utils/match-pattern.html
  161. +0 −337 packages/api-utils/memory.html
  162. +0 −341 packages/api-utils/message-manager.html
  163. +0 −397 packages/api-utils/namespace.html
  164. +0 −434 packages/api-utils/observer-service.html
  165. +0 −337 packages/api-utils/plain-text-console.html
  166. +0 −532 packages/api-utils/preferences-service.html
  167. +0 −668 packages/api-utils/promise.html
  168. +0 −357 packages/api-utils/querystring.html
  169. +0 −406 packages/api-utils/runtime.html
  170. +0 −372 packages/api-utils/sandbox.html
  171. +0 −505 packages/api-utils/tab-browser.html
  172. +0 −704 packages/api-utils/test/assert.html
  173. +0 −514 packages/api-utils/text-streams.html
  174. +0 −413 packages/api-utils/traceback.html
  175. +0 −611 packages/api-utils/traits.html
  176. +0 −399 packages/api-utils/unload.html
  177. +0 −529 packages/api-utils/url.html
  178. +0 −351 packages/api-utils/uuid.html
  179. +0 −449 packages/api-utils/window-utils.html
  180. +0 −414 packages/api-utils/window/utils.html
  181. +0 −430 packages/api-utils/xhr.html
  182. +0 −978 packages/api-utils/xpcom.html
  183. +0 −453 packages/api-utils/xul-app.html
  184. +0 −1 packages/index.json
  185. +0 −12 packages/test-harness/README.md
  186. +0 −336 packages/test-harness/harness.html
  187. +0 −390 packages/test-harness/index.html
  188. +0 −342 packages/test-harness/run-tests.html
  189. +0 −162 static-files/base.html
  190. +0 −128 static-files/css/api-reference.css
  191. +0 −166 static-files/css/base.css
  192. +0 −143 static-files/css/footer.css
  193. +0 −84 static-files/css/header.css
  194. +0 −375 static-files/css/sdk-docs.css
  195. +0 −19 static-files/js/jquery.js
  196. +0 −107 static-files/js/main.js
  197. BIN static-files/media/annotator/annotation-list.png
  198. BIN static-files/media/annotator/annotation-panel.png
  199. BIN static-files/media/annotator/annotator-design.png
  200. BIN static-files/media/annotator/editor-panel.png
  201. BIN static-files/media/annotator/highlight.png
  202. BIN static-files/media/annotator/matcher.png
  203. BIN static-files/media/annotator/pencil-off.png
  204. BIN static-files/media/annotator/pencil-on.png
  205. BIN static-files/media/annotator/widget-icon.png
  206. BIN static-files/media/bg-footer.png
  207. BIN static-files/media/bg-header.png
  208. BIN static-files/media/commonjs-modules.png
  209. BIN static-files/media/commonjs-wikipanel.png
  210. BIN static-files/media/content-scripting-events.png
  211. BIN static-files/media/content-scripting-overview.png
  212. BIN static-files/media/favicon.png
  213. BIN static-files/media/firefox-32.png
  214. BIN static-files/media/firefox-logo.png
  215. BIN static-files/media/footer-logo-med.png
  216. BIN static-files/media/librarydetector/library-detector.png
  217. BIN static-files/media/librarydetector/panel-content.png
  218. BIN static-files/media/mobile-setup-adb.png
  219. BIN static-files/media/mozilla-tab.png
  220. BIN static-files/media/multiple-workers.jpg
  221. BIN static-files/media/screenshots/addon-page.png
  222. BIN static-files/media/screenshots/context-menu-selection.png
  223. BIN static-files/media/screenshots/default-widget.png
  224. BIN static-files/media/screenshots/l10n-html-enUS.png
  225. BIN static-files/media/screenshots/l10n-html-frFR.png
  226. BIN static-files/media/screenshots/locale-updater.png
  227. BIN static-files/media/screenshots/pagemod-ietf.png
  228. BIN static-files/media/screenshots/panel-default-style.png
  229. BIN static-files/media/screenshots/panel-tabs-osx.png
  230. BIN static-files/media/screenshots/tabattach-bbc.png
  231. BIN static-files/media/screenshots/text-entry-panel.png
  232. BIN static-files/media/screenshots/widget-hello-text.png
  233. BIN static-files/media/screenshots/widget-jquery.png
  234. BIN static-files/media/screenshots/widget-mozilla-icon.png
  235. BIN static-files/media/screenshots/widget-mozilla.png
  236. BIN static-files/media/screenshots/widget-panel-clock.png
  237. BIN static-files/media/screenshots/widget-player-buttons.png
  238. BIN static-files/media/screenshots/wikipedia-jetpack-panel.png
  239. BIN static-files/media/xul-migration-cs.png
  240. +0 −20 static-files/syntaxhighlighter/MIT-LICENSE
  241. +0 −91 static-files/syntaxhighlighter/scripts/shBrushCss.js
  242. +0 −52 static-files/syntaxhighlighter/scripts/shBrushJScript.js
  243. +0 −69 static-files/syntaxhighlighter/scripts/shBrushXml.js
  244. +0 −17 static-files/syntaxhighlighter/scripts/shCore.js
  245. +0 −226 static-files/syntaxhighlighter/styles/shCore.css
  246. +0 −118 static-files/syntaxhighlighter/styles/shThemeDefault.css
  247. +0 −1 status.md5

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,46 +0,0 @@
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-# console #
-
-The `console` object enables your add-on to log messages. If you have started
-the host application for your add-on from the command line (for example, by
-executing `cfx run` or `cfx test`) then these messages appear in the command
-shell you used. If the add-on has been installed in the host application, then
-the messages appear in the host application's
-[Error Console](https://developer.mozilla.org/en/Error_Console).
-
-The `console` object has the following methods:
-
-<code>console.**log**(*object*[, *object*, ...])</code>
-
-Logs an informational message to the shell.
-Depending on the console's underlying implementation and user interface,
-you may be able to introspect into the properties of non-primitive objects
-that are logged.
-
-<code>console.**info**(*object*[, *object*, ...])</code>
-
-A synonym for `console.log()`.
-
-<code>console.**warn**(*object*[, *object*, ...])</code>
-
-Logs a warning message.
-
-<code>console.**error**(*object*[, *object*, ...])</code>
-
-Logs an error message.
-
-<code>console.**debug**(*object*[, *object*, ...])</code>
-
-Logs a debug message.
-
-<code>console.**exception**(*exception*)</code>
-
-Logs the given exception instance as an error, outputting information
-about the exception's stack traceback if one is available.
-
-<code>console.**trace**()</code>
-
-Logs a stack trace at the point this function is called.
@@ -1,68 +0,0 @@
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-# Credits #
-
-We'd like to thank our many Jetpack project contributors! They include:
-
-* Adamantium
-* Ehsan Akhgari
-* arky
-* [Heather Arthur](https://github.com/harthur)
-* Dietrich Ayala
-* [Romain B](https://github.com/Niamor)
-* Will Bamberg
-* Zbigniew Braniecki
-* Daniel Buchner
-* James Burke
-* [Shane Caraveo](https://github.com/mixedpuppy)
-* [Matěj Cepl](https://github.com/mcepl)
-* Hernán Rodriguez Colmeiro
-* [David Creswick](https://github.com/dcrewi)
-* dexter
-* [Matteo Ferretti (ZER0)](https://github.com/ZER0)
-* fuzzykiller
-* [Marcio Galli](https://github.com/taboca)
-* [Ben Gillbanks](http://www.iconfinder.com/browse/iconset/circular_icons/)
-* Felipe Gomes
-* Irakli Gozalishvili
-* Luca Greco
-* Mark Hammond
-* Lloyd Hilaiel
-* Bobby Holley
-* Eric H. Jung
-* Hrishikesh Kale
-* Wes Kocher
-* Edward Lee
-* Myk Melez
-* Zandr Milewski
-* Noelle Murata
-* Joe R. Nassimian ([placidrage](https://github.com/placidrage))
-* Nick Nguyen
-* [ongaeshi](https://github.com/ongaeshi)
-* Paul O’Shannessy
-* l.m.orchard
-* Alexandre Poirot
-* Nickolay Ponomarev
-* Aza Raskin
-* Till Schneidereit
-* Justin Scott
-* Ayan Shah
-* [skratchdot](https://github.com/skratchdot)
-* [Mihai Sucan](https://github.com/mihaisucan)
-* Clint Talbert
-* Thomas
-* Dave Townsend
-* Peter Van der Beken
-* Atul Varma
-* [Erik Vold](https://github.com/erikvold)
-* Vladimir Vukicevic
-* Brian Warner
-* [Henri Wiechers](https://github.com/hwiechers)
-* Drew Willcoxon
-* Piotr Zalewa
-* [David Guo](https://github.com/dglol)
-* [Nils Maier](https://github.com/nmaier)
-* [Louis-Rémi Babé](https://github.com/louisremi)
-* [Matthias Tylkowski](https://github.com/tylkomat)
@@ -1,73 +0,0 @@
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-# Glossary #
-
-This glossary contains a list of terms used in the Add-on SDK.
-
-__Add-on__: A software package that adds functionality to a Mozilla application,
-which can be built with either Mozilla's traditional add-on platform or the SDK.
-
-__Add-on SDK__: A toolchain and associated applications for developing add-ons.
-
-__API Utils__: A small, self-contained set of low-level modules that forms
-the base functionality for the SDK. The library can be "bootstrapped" into
-any Mozilla application or add-on.
-
-__CFX__: A command-line build, testing, and packaging tool for SDK-based code.
-
-__CommonJS__: A specification for a cross-platform JavaScript module
-system and standard library. [Web site](http://commonjs.org/).
-
-__Extension__: Synonym for Add-on.
-
-__Globals__: The set of global variables and objects provided
-to all modules, such as `console` and `memory`. Includes
-CommonJS globals like `require` and standard JavaScript globals such
-as `Array` and `Math`.
-
-<span><a name="host-application">__Host Application__:</a> Add-ons are executed in
-the context of a host application, which is the application they are extending.
-Firefox and Thunderbird are the most obvious hosts for Mozilla add-ons, but
-at present only Firefox is supported as a host for add-ons developed using the
-Add-on SDK.</span>
-
-__Jetpack Prototype__: A Mozilla Labs experiment that predated and inspired
-the SDK. The SDK incorporates many ideas and some code from the prototype.
-
-__Loader__: An object capable of finding, evaluating, and
-exposing CommonJS modules to each other in a given security context,
-while providing each module with necessary globals and
-enforcing security boundaries between the modules as necessary. It's
-entirely possible for Loaders to create new Loaders.
-
-__Low-Level Module__: A module with the following properties:
-
- * Has "chrome" access to the Mozilla platform (e.g. `Components.classes`)
- and all globals.
- * Is reloadable without leaking memory.
- * Logs full exception tracebacks originating from client-provided
- callbacks (i.e., does not allow the exceptions to propagate into
- Mozilla platform code).
- * Can exist side-by-side with multiple instances and versions of
- itself.
- * Contains documentation on security concerns and threat modeling.
-
-__Module__: A CommonJS module that is either a Low-Level Module
-or an Unprivileged Module.
-
-__Package__: A directory structure containing modules,
-documentation, tests, and related metadata. If a package contains
-a program and includes proper metadata, it can be built into
-a Mozilla application or add-on.
-
-__Program__: A module named `main` that optionally exports
-a `main()` function. This module is intended either to start an application for
-an end-user or add features to an existing application.
-
-__Unprivileged Module__: A CommonJS module that may be run
-without unrestricted access to the Mozilla platform, and which may use
-all applicable globals that don't require chrome privileges.
-
- [Low-Level Module Best Practices]: dev-guide/module-development/best-practices.html
@@ -1,146 +0,0 @@
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-# CommonJS, Packages, and the SDK #
-
-CommonJS is the underlying infrastructure for both the SDK and the add-ons
-you build using the SDK.
-
-The [CommonJS group](http://wiki.commonjs.org/wiki/CommonJS) defines
-specifications for **modules** and **packages**.
-
-## CommonJS Modules ##
-
-A CommonJS **module** is a piece of reusable JavaScript: it exports certain
-objects which are thus made available to dependent code. To facilitate this
-CommonJS defines:
-
-* an object called `exports` which contains all the objects which a CommonJS
-module wants to make available to other modules
-
-* a function called `require` which a module can use to import the `exports`
-object of another module.
-
-![CommonJS modules](static-files/media/commonjs-modules.png)
-
-The SDK
-[freezes](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/freeze)
-the `exports` object returned by `require`. So a if you import a module using
-`require`, you can't change the properties of the object returned:
-
- self = require("self");
- // Attempting to define a new property
- // will fail, or throw an exception in strict mode
- self.foo = 1;
- // Attempting to modify an existing property
- // will fail, or throw an exception in strict mode
- self.data = "foo";
-
-## CommonJS Packages ##
-
-A CommonJS **package** is a structure which can wrap a collection of related
-modules: this makes it easier to distribute, install and manage modules.
-
-Minimally, a package must include a package descriptor file named
-`package.json`: this file contains information about the package such as a short
-description, the authors, and the other packages it depends on.
-
-Packages must also follow a particular directory structure, which is the
-structure `cfx init` created for your add-on.
-
-## CommonJS and the Add-on SDK ##
-
-<img class="image-right" src="static-files/media/commonjs-wikipanel.png"
-alt="CommonJS wikipanel">
-
-* The JavaScript modules which the SDK provides are CommonJS modules, and they
-are collected into CommonJS packages.
-
-* The JavaScript components of an add-on constitute one or more
-CommonJS modules, and a complete add-on is a CommonJS package.
-
-According to the CommonJS specification, if a module called `main` exists in a
-CommonJS package, that module will be evaluated as soon as your program is
-loaded. For an add-on, that means that the `main` module will be evaluated as
-soon as Firefox has enabled the add-on.
-
-Because an add-on is a CommonJS package it's possible to include more than one
-module in an add-on, and to make your modules available to any code that want
-to use them.
-
-## Packages in the SDK ##
-
-Navigate to the root of your SDK installation and list the contents of
-the "packages" directory:
-
-<pre>
-ls packages
-</pre>
-
-You will see something like this:
-
-<pre>
-addon-kit api-utils test-harness
-</pre>
-
-So the modules which implement the SDK's APIs are
-collected into three packages, `addon-kit`, `api-utils` and `test-harness`.
-
-### <a name="addon-kit">addon-kit</a> ###
-
-Modules in the `addon-kit` package implement high-level APIs for
-building add-ons:
-
-* creating user interfaces
-* interacting with the web
-* interacting with the browser
-
-These modules are "supported": meaning that they are stable, and that
-we'll avoid making incompatible changes to them unless absolutely
-necessary.
-
-They are documented in the "High-Level APIs" section
-of the sidebar.
-
-### <a name="api-utils">api-utils</a> ###
-
-Modules in the `api-utils` package implement low-level APIs. These
-modules fall roughly into three categories:
-
-* fundamental utilities such as
-[collection](packages/api-utils/collection.html) and
-[url](packages/api-utils/url.html). Many add-ons are likely to
-want to use modules from this category.
-
-* building blocks for higher level modules, such as
-[event/core](packages/api-utils/event/core.html),
-[event/target](packages/api-utils/event/target.html),
-[heritage](packages/api-utils/heritage.html), and
-[namespace](packages/api-utils/namespace.html). You're more
-likely to use these if you are building your own modules that
-implement new APIs, thus extending the SDK itself.
-
-* privileged modules that expose powerful low-level capabilities
-such as [xhr](packages/api-utils/xhr.html) and
-[xpcom](packages/api-utils/xpcom.html). You can use these
-modules in your add-on if you need to, but should be aware that
-the cost of privileged access is the need to take more elaborate
-security precautions. In many cases these modules have simpler,
-more restricted analogs in the high-level addon-kit package (for
-example, [tabs](packages/addon-kit/tabs.html) or
-[request](packages/addon-kit/request.html)).
-
-<div class="warning">
-<p>These modules are still in active development,
-and we expect to make incompatible changes to them in future releases.
-</p>
-If you use these modules in your add-on you may need to rewrite your
-code when upgrading to a newer release of the SDK.
-</div>
-
-They are documented in the "Low-Level APIs" section of the sidebar.
-
-### test-harness ###
-
-Modules in this packages are used internally by the SDK's test code.
Oops, something went wrong.

0 comments on commit 5e1a664

Please sign in to comment.