aboutsummaryrefslogtreecommitdiff
path: root/test/tests/amd-circular1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/amd-circular1.js')
-rw-r--r--test/tests/amd-circular1.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/tests/amd-circular1.js b/test/tests/amd-circular1.js
new file mode 100644
index 000000000..2533e9bfd
--- /dev/null
+++ b/test/tests/amd-circular1.js
@@ -0,0 +1,7 @@
+define(function(require, exports) {
+ var depFunc = require('./amd-circular2.js').fn;
+ exports.val = 5;
+ exports.outFunc = function() {
+ return depFunc();
+ }
+}); \ No newline at end of file