From 8b5d3c6b75744cf5938f253d20f367999e92b1a7 Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Fri, 7 Jun 2013 16:42:11 -0700 Subject: Remove the addon-sdk from the repo, and download it on demand --- .../static-files/doc/dev-guide-source/index.md | 7 - .../static-files/doc/dev-guide-source/no_h1.md | 7 - .../doc/module-source/high-level-modules.md | 18 - .../doc/module-source/low-level-modules.md | 36 -- .../doc/module-source/sdk/aardvark-feeder.md | 12 - .../doc/module-source/sdk/anteater/anteater.md | 10 - .../static-files/doc/module-source/sdk/main.md | 0 .../doc/module-source/sdk/not_a_doc.js | 5 - .../doc/module-source/third-party-modules.md | 11 - .../static-files/doc/static-files/another.html | 5 - .../tests/static-files/doc/static-files/base.html | 161 ------- .../tests/static-files/doc/static-files/index.html | 27 -- .../tests/static-files/docs/APIreference.html | 469 --------------------- .../tests/static-files/docs/APIsample.md | 162 ------- .../static-files/packages/aardvark/doc/main.md | 0 .../static-files/packages/aardvark/lib/ignore_me | 3 - .../static-files/packages/aardvark/lib/main.js | 8 - .../aardvark/lib/surprise.js/ignore_me_too | 2 - .../static-files/packages/aardvark/package.json | 7 - .../packages/anteater_files/lib/main.js | 8 - .../packages/anteater_files/package.json | 8 - .../static-files/packages/api-utils/lib/loader.js | 7 - .../static-files/packages/api-utils/package.json | 5 - .../packages/barbeque/lib/bar-module.js | 7 - .../static-files/packages/barbeque/package.json | 4 - .../static-files/packages/minimal/lib/main.js | 8 - .../static-files/packages/minimal/package.json | 4 - .../xpi-template/components/harness.js | 8 - 28 files changed, 1009 deletions(-) delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/dev-guide-source/index.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/dev-guide-source/no_h1.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/high-level-modules.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/low-level-modules.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/aardvark-feeder.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/anteater/anteater.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/main.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/not_a_doc.js delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/third-party-modules.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/another.html delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/base.html delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/index.html delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/docs/APIreference.html delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/docs/APIsample.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/doc/main.md delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/ignore_me delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/main.js delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/surprise.js/ignore_me_too delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/package.json delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/anteater_files/lib/main.js delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/anteater_files/package.json delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/api-utils/lib/loader.js delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/api-utils/package.json delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/barbeque/lib/bar-module.js delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/barbeque/package.json delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/minimal/lib/main.js delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/minimal/package.json delete mode 100644 tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/xpi-template/components/harness.js (limited to 'tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files') diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/dev-guide-source/index.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/dev-guide-source/index.md deleted file mode 100644 index 0f03259..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/dev-guide-source/index.md +++ /dev/null @@ -1,7 +0,0 @@ - - -# An Imposing Title # - -*Some words!* diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/dev-guide-source/no_h1.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/dev-guide-source/no_h1.md deleted file mode 100644 index 9859f33..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/dev-guide-source/no_h1.md +++ /dev/null @@ -1,7 +0,0 @@ - - -## A heading ## - -*Some words!* diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/high-level-modules.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/high-level-modules.md deleted file mode 100644 index 8745e13..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/high-level-modules.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# High-Level APIs # - -Modules in this section implement high-level APIs for -building add-ons: - -* creating user interfaces -* interacting with the web -* interacting with the browser - -Unless the documentation explicitly says otherwise, all these modules are -"supported": meaning that they are relatively stable, and that we'll avoid -making incompatible changes to them unless absolutely necessary. - - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/low-level-modules.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/low-level-modules.md deleted file mode 100644 index bc44007..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/low-level-modules.md +++ /dev/null @@ -1,36 +0,0 @@ - - -# Low-Level APIs # - -Modules in this section implement low-level APIs. These -modules fall roughly into three categories: - -* fundamental utilities such as -[collection](modules/sdk/util/collection.html) and -[url](modules/sdk/url.html). Many add-ons are likely to -want to use modules from this category. - -* building blocks for higher level modules, such as -[events](modules/sdk/events/core.html), -[worker](modules/sdk/content/worker.html), and -[api-utils](modules/sdk/deprecated/api-utils.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 [window/utils](modules/sdk/window/utils.html) and -[xhr](modules/sdk/net/xhr.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 among the "High-Level APIs" (for -example, [windows](modules/sdk/windows.html) or -[request](modules/sdk/request.html)). - -These modules are still in active development, and we expect to -make incompatible changes to them in future releases. - - - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/aardvark-feeder.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/aardvark-feeder.md deleted file mode 100644 index 3845955..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/aardvark-feeder.md +++ /dev/null @@ -1,12 +0,0 @@ - - -The `aardvark-feeder` module simplifies feeding aardvarks. - - -@function - Feed the aardvark. -@param food {string} - The food. Aardvarks will eat anything. - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/anteater/anteater.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/anteater/anteater.md deleted file mode 100644 index c480ce3..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/anteater/anteater.md +++ /dev/null @@ -1,10 +0,0 @@ - - -The `anteater` module should not be used by anyone. - - -@function - Releases the anteater. Do not call this function. - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/main.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/main.md deleted file mode 100644 index e69de29..0000000 diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/not_a_doc.js b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/not_a_doc.js deleted file mode 100644 index f4abc3b..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/sdk/not_a_doc.js +++ /dev/null @@ -1,5 +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/. - -not a doc \ No newline at end of file diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/third-party-modules.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/third-party-modules.md deleted file mode 100644 index 33e957c..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/module-source/third-party-modules.md +++ /dev/null @@ -1,11 +0,0 @@ - - -# Third-party APIs # - -This section include modules you've added to the SDK. The tutorial on -[adding menu items to Firefox](dev-guide/tutorials/adding-menus.html) -explains how to add third-party modules to your SDK installation. - - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/another.html b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/another.html deleted file mode 100644 index d40a2e8..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/another.html +++ /dev/null @@ -1,5 +0,0 @@ - - -another file \ No newline at end of file diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/base.html b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/base.html deleted file mode 100644 index 3dd3df1..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/base.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
-
-
- - - -
-
-
- - - - - - - - - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/index.html b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/index.html deleted file mode 100644 index 1909a18..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/doc/static-files/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - -
- - - - - -
- -
- - - - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/docs/APIreference.html b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/docs/APIreference.html deleted file mode 100644 index e302641..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/docs/APIreference.html +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - - - - - - - - - - - Add-on SDK Documentation - - - - - - - - - - - - - -
-

APIsample

-
- -

Title

-

Some text here

-

This text appears between the API blocks.

-

Wooo, more text.

-

Some more text here, at the end of the file.

-
- -
-

API Reference

- -
-

Classes

- -
-

empty-class

-

This class contains nothing.

-
- -
-

only-one-ctor

-

This class contains only one constructor.

-
-
Constructors
- -
-
one-constructor(options)
- -
-
-
[ options ]
-

An object-bag of goodies.

-
- -
- -
- -
- -
- -
-

two-ctors

-

This class contains two constructors.

-
-
Constructors
- -
-
one-constructor(options)
-

The first constructor.

-
-
-
[ options ]
-

An object-bag of goodies.

-
- -
- -
- -
-
another-constructor(options)
-

The second constructor.

-
-
-
[ options ]
-

An object-bag of goodies.

-
- -
- -
- -
- -
- -
-

ctor-and-method

-

This class contains one constructor and one method.

-
-
Constructors
- -
-
one-constructor(options)
-

The first constructor.

-
-
-
[ options ]
-

An object-bag of goodies.

-
- -
- -
- -
- -
-
Methods
- -
-
a-method(options)
-

Does things.

-
-
-
[ options ]
-

An argument.

-
- -
- -
- -
- -
- -
-

ctor-method-prop-event

-

This class contains one constructor, one method, one property and an event.

-
-
Constructors
- -
-
one-constructor(options)
-

The first constructor.

-
-
-
[ options ]
-

An object-bag of goodies.

-
- -
- -
- -
- -
-
Methods
- -
-
a-method(options)
-

Does things.

-
-
-
[ options ]
-

An argument.

-
- -
- -
- -
- -
-
Properties
- -
-
a-property : bool
-

Represents stuff.

-
- -
- -
-
Events
- -
-
message
-

Event emitted when the content script sends a message to the add-on.

-
-
-
JSON
-

The message itself as a JSON-serialized object.

-
- -
- -
- -
- -
- -
- -
-

Functions

- -
-

test(argOne, argTwo, argThree, options)

-

This is a function which does nothing in particular.

-
-
-
argOne : string
-

This is the first argument.

-
- -
-
[ argTwo : bool ]
-

This is the second argument.

-
- -
-
[ argThree = default : uri ]
-

This is the third and final argument. And this is - a test of the ability to do multiple lines of - text.

-
- -
-
[ options ]
-

Options Bag

-
-
[ style : string ]
-

Some style information.

-
- -
-
[ secondToLastOption = True : bool ]
-

The last property.

-
- -
-
[ lastOption : uri ]
-

And this time we have - A multiline description - Written as haiku

-
- -
- -
- -
Returns: object -
- -
- -
-

append(options)

-

This is a list of options to specify modifications to your slideBar instance.

-
-
-
options
-

Pass in all of your options here.

-
-
[ icon : uri ]
-

The HREF of an icon to show as the method of accessing your features slideBar

-
- -
-
[ html : string/xml ]
-

The content of the feature, either as an HTML string, - or an E4X document fragment.

-
- -
-
[ url : uri ]
-

The url to load into the content area of the feature

-
- -
-
[ width : int ]
-

Width of the content area and the selected slide size

-
- -
-
[ persist : bool ]
-

Default slide behavior when being selected as follows: - If true: blah; If false: double blah.

-
- -
-
[ autoReload : bool ]
-

Automatically reload content on select

-
- -
-
[ onClick : function ]
-

Callback when the icon is clicked

-
- -
-
[ onSelect : function ]
-

Callback when the feature is selected

-
- -
-
[ onReady : function ]
-

Callback when featured is loaded

-
- -
- -
- -
- -
-

cool-func.dot(howMuch, double, options, onemore, options2)

- -
-
-
howMuch : string
-

How much cool it is.

-
- -
-
[ double = true : bool ]
-

In case you just really need to double it.

-
- -
-
[ options ]
-

An object-bag of goodies.

-
-
callback : function
-

The callback

-
- -
-
[ random : bool ]
-

Do something random?

-
- -
- -
-
[ onemore : bool ]
-

One more paramater

-
- -
-
[ options2 ]
-

This is a full description of something - that really sucks. Because I now have a multiline - description of this thingy.

-
-
monkey : string
-

You heard me right

-
- -
-
[ freak = true : bool ]
-

Yes, you are a freak.

-
- -
- -
- -
Returns: string

A value telling you just how cool you are. - A boa-constructor! - This description can go on for a while, and can even contain - some realy fancy things. Like code, or even - ~~~~{.javascript} - // Some code! - ~~~~

-
- -
- -
-

random()

-

A function that returns a random integer between 0 and 10.

-
Returns: int

The random number.

-
- -
- -
- -
-

Events

- -
-

open

-

A module-level event called open.

-
-
-
bool
-

Yes, it's open.

-
- -
- -
- -
- -
- -
- - - - - - - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/docs/APIsample.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/docs/APIsample.md deleted file mode 100644 index c5090c3..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/docs/APIsample.md +++ /dev/null @@ -1,162 +0,0 @@ - - -# Title # - -Some text here - - -@function -This is a function which does nothing in particular. -@returns {object} - @prop firststring {string} First string - @prop firsturl {url} First URL -@param argOne {string} This is the first argument. -@param [argTwo] {bool} This is the second argument. -@param [argThree=default] {uri} - This is the third and final argument. And this is - a test of the ability to do multiple lines of - text. -@param [options] Options Bag - @prop [style] {string} Some style information. - @prop [secondToLastOption=True] {bool} The last property. - @prop [lastOption] {uri} - And this time we have - A multiline description - Written as haiku - - -This text appears between the API blocks. - - -@function -This is a list of options to specify modifications to your slideBar instance. -@param options - Pass in all of your options here. - @prop [icon] {uri} The HREF of an icon to show as the method of accessing your features slideBar - @prop [html] {string/xml} - The content of the feature, either as an HTML string, - or an E4X document fragment. - @prop [url] {uri} The url to load into the content area of the feature - @prop [width] {int} Width of the content area and the selected slide size - @prop [persist] {bool} - Default slide behavior when being selected as follows: - If true: blah; If false: double blah. - @prop [autoReload] {bool} Automatically reload content on select - @prop [onClick] {function} Callback when the icon is clicked - @prop [onSelect] {function} Callback when the feature is selected - @prop [onReady] {function} Callback when featured is loaded - - -Wooo, more text. - - -@function -@returns {string} A value telling you just how cool you are. -A boa-constructor! -This description can go on for a while, and can even contain -some **realy** fancy things. Like `code`, or even -~~~~{.javascript} -// Some code! -~~~~ -@param howMuch {string} How much cool it is. -@param [double=true] {bool} - In case you just really need to double it. -@param [options] An object-bag of goodies. - @prop callback {function} The callback - @prop [random] {bool} Do something random? -@param [onemore] {bool} One more paramater -@param [options2] - This is a full description of something - that really sucks. Because I now have a multiline - description of this thingy. - @prop monkey {string} You heard me right - @prop [freak=true] {bool} - Yes, you are a freak. - - - -@function -A function that returns a random integer between 0 and 10. -@returns {int} The random number. - - - -@class -This class contains nothing. - - - -@class -This class contains only one constructor. - -@constructor -@param [options] An object-bag of goodies. - - - - -@class -This class contains two constructors. - -@constructor -The first constructor. -@param [options] An object-bag of goodies. - - -@constructor -The second constructor. -@param [options] An object-bag of goodies. - - - - -@class -This class contains one constructor and one method. - -@constructor -The first constructor. -@param [options] An object-bag of goodies. - - -@method -Does things. -@param [options] An argument. - - - - -@class -This class contains one constructor, one method, one property and an event. - -@constructor -The first constructor. -@param [options] An object-bag of goodies. - - -@method -Does things. -@param [options] An argument. - - -@property {bool} -Represents stuff. - - -@event -Event emitted when the content script sends a message to the add-on. -@argument {JSON} -The message itself as a JSON-serialized object. - - - - -@event -A module-level event called open. -@argument {bool} -Yes, it's open. - - -Some more text here, at the end of the file. - diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/doc/main.md b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/doc/main.md deleted file mode 100644 index e69de29..0000000 diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/ignore_me b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/ignore_me deleted file mode 100644 index 014242c..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/ignore_me +++ /dev/null @@ -1,3 +0,0 @@ -The docs processor should tolerate (by ignoring) random non-.js files in lib -directories, such as those left around by editors, version-control systems, -or OS metadata like .DS_Store . This file exercises that tolerance. diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/main.js b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/main.js deleted file mode 100644 index 0264872..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/main.js +++ /dev/null @@ -1,8 +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/. */ - -exports.main = function(options, callbacks) { - console.log("1 + 1 =", require("bar-module").add(1, 1)); - callbacks.quit(); -}; diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/surprise.js/ignore_me_too b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/surprise.js/ignore_me_too deleted file mode 100644 index 066f9b5..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/lib/surprise.js/ignore_me_too +++ /dev/null @@ -1,2 +0,0 @@ -The docs processor should also ignore directories named *.js, and their -contents. diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/package.json b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/package.json deleted file mode 100644 index afb5698..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/aardvark/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "author": "Jon Smith", - "description": "A package w/ a main module; can be built into an extension.", - "keywords": ["potato"], - "version": "1.0", - "dependencies": ["addon-sdk", "barbeque"] -} diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/anteater_files/lib/main.js b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/anteater_files/lib/main.js deleted file mode 100644 index 0264872..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/anteater_files/lib/main.js +++ /dev/null @@ -1,8 +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/. */ - -exports.main = function(options, callbacks) { - console.log("1 + 1 =", require("bar-module").add(1, 1)); - callbacks.quit(); -}; diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/anteater_files/package.json b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/anteater_files/package.json deleted file mode 100644 index 9684581..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/anteater_files/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "anteater", - "author": "Jon Smith", - "description": "A package w/ a main module; can be built into an extension.", - "keywords": ["potato"], - "version": "1.0", - "dependencies": ["addon-sdk", "barbeque"] -} diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/api-utils/lib/loader.js b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/api-utils/lib/loader.js deleted file mode 100644 index 361846d..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/api-utils/lib/loader.js +++ /dev/null @@ -1,7 +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/. */ - -// This module will be imported by the XPCOM harness/boostrapper -// via Components.utils.import() and is responsible for creating a -// CommonJS module loader. diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/api-utils/package.json b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/api-utils/package.json deleted file mode 100644 index 64eb065..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/api-utils/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "description": "A foundational package that provides a CommonJS module loader implementation.", - "keywords": ["potato", "jetpack-low-level"], - "loader": "lib/loader.js" -} diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/barbeque/lib/bar-module.js b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/barbeque/lib/bar-module.js deleted file mode 100644 index ff982ae..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/barbeque/lib/bar-module.js +++ /dev/null @@ -1,7 +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/. */ - -exports.add = function add(a, b) { - return a + b; -}; diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/barbeque/package.json b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/barbeque/package.json deleted file mode 100644 index 62e3c12..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/barbeque/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "keywords": ["potato", "jetpack-low-level"], - "description": "A package used by 'aardvark' as a library." -} diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/minimal/lib/main.js b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/minimal/lib/main.js deleted file mode 100644 index aeda0e7..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/minimal/lib/main.js +++ /dev/null @@ -1,8 +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/. */ - -exports.main = function(options, callbacks) { - console.log("minimal"); - callbacks.quit(); -}; diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/minimal/package.json b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/minimal/package.json deleted file mode 100644 index 530f3c2..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/packages/minimal/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "author": "Jon Smith", - "description": "A package w/ a main module; can be built into an extension." -} diff --git a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/xpi-template/components/harness.js b/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/xpi-template/components/harness.js deleted file mode 100644 index a20bf3f..0000000 --- a/tools/addon-sdk-1.12/python-lib/cuddlefish/tests/static-files/xpi-template/components/harness.js +++ /dev/null @@ -1,8 +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/. */ - -// This file contains XPCOM code that bootstraps an SDK-based add-on -// by loading its harness-options.json, registering all its resource -// directories, executing its loader, and then executing its program's -// main() function. -- cgit v1.2.3