diff options
Diffstat (limited to 'addon-sdk/source/test/fixtures/native-addon-test/newmodule')
3 files changed, 13 insertions, 0 deletions
diff --git a/addon-sdk/source/test/fixtures/native-addon-test/newmodule/index.js b/addon-sdk/source/test/fixtures/native-addon-test/newmodule/index.js new file mode 100644 index 000000000..f982e6b98 --- /dev/null +++ b/addon-sdk/source/test/fixtures/native-addon-test/newmodule/index.js @@ -0,0 +1,5 @@ +/* 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/. */ + +module.exports = 'index.js'; diff --git a/addon-sdk/source/test/fixtures/native-addon-test/newmodule/lib/file.js b/addon-sdk/source/test/fixtures/native-addon-test/newmodule/lib/file.js new file mode 100644 index 000000000..fab140983 --- /dev/null +++ b/addon-sdk/source/test/fixtures/native-addon-test/newmodule/lib/file.js @@ -0,0 +1,5 @@ +/* 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/. */ + +module.exports = 'main from new module'; diff --git a/addon-sdk/source/test/fixtures/native-addon-test/newmodule/package.json b/addon-sdk/source/test/fixtures/native-addon-test/newmodule/package.json new file mode 100644 index 000000000..feae8acaa --- /dev/null +++ b/addon-sdk/source/test/fixtures/native-addon-test/newmodule/package.json @@ -0,0 +1,3 @@ +{ + "main":"lib/file.js" +} |