summaryrefslogtreecommitdiffstats
path: root/addon-sdk/source/test/fixtures/native-overrides-test/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'addon-sdk/source/test/fixtures/native-overrides-test/index.js')
-rw-r--r--addon-sdk/source/test/fixtures/native-overrides-test/index.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/addon-sdk/source/test/fixtures/native-overrides-test/index.js b/addon-sdk/source/test/fixtures/native-overrides-test/index.js
new file mode 100644
index 000000000..ef0b6bba1
--- /dev/null
+++ b/addon-sdk/source/test/fixtures/native-overrides-test/index.js
@@ -0,0 +1,19 @@
+/* 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/. */
+'use strict';
+
+var foo = require("foo");
+var coolTabs = require("cool-tabs");
+
+exports.foo = foo.fs;
+exports.bar = foo.bar;
+exports.fs = require("sdk/io/fs");
+exports.extra = require("fs-extra").extra;
+exports.overload = require("overload");
+exports.overloadLib = require("overload/lib/foo.js");
+exports.internal = require("internal").internal;
+exports.Tabs = require("sdk/tabs").Tabs;
+exports.CoolTabs = coolTabs.Tabs;
+exports.CoolTabsLib = coolTabs.TabsLib;
+exports.ignore = require("./lib/ignore").foo;