aboutsummaryrefslogtreecommitdiff
path: root/tools/addon-sdk-1.12/test/fixtures/loader/cycles
diff options
context:
space:
mode:
Diffstat (limited to 'tools/addon-sdk-1.12/test/fixtures/loader/cycles')
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/loader/cycles/a.js7
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/loader/cycles/b.js7
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/loader/cycles/c.js7
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/loader/cycles/main.js14
4 files changed, 35 insertions, 0 deletions
diff --git a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/a.js b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/a.js
new file mode 100644
index 0000000..f6e13cc
--- /dev/null
+++ b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/a.js
@@ -0,0 +1,7 @@
+/* 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';
+
+exports.b = require('b');
diff --git a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/b.js b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/b.js
new file mode 100644
index 0000000..69e23f1
--- /dev/null
+++ b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/b.js
@@ -0,0 +1,7 @@
+/* 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';
+
+exports.a = require('a');
diff --git a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/c.js b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/c.js
new file mode 100644
index 0000000..ce34b3c
--- /dev/null
+++ b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/c.js
@@ -0,0 +1,7 @@
+/* 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';
+
+exports.main = require('main');
diff --git a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/main.js b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/main.js
new file mode 100644
index 0000000..6d13200
--- /dev/null
+++ b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/main.js
@@ -0,0 +1,14 @@
+/* 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 a = require('a');
+var b = require('b');
+var c = require('c');
+
+exports.a = a;
+exports.b = b;
+exports.c = c;
+exports.main = exports;