aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/systemjs/test/tests/testpkg/dir
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/systemjs/test/tests/testpkg/dir')
-rw-r--r--thirdparty/systemjs/test/tests/testpkg/dir/index.js2
-rw-r--r--thirdparty/systemjs/test/tests/testpkg/dir/self-load.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/thirdparty/systemjs/test/tests/testpkg/dir/index.js b/thirdparty/systemjs/test/tests/testpkg/dir/index.js
new file mode 100644
index 000000000..cef6cd572
--- /dev/null
+++ b/thirdparty/systemjs/test/tests/testpkg/dir/index.js
@@ -0,0 +1,2 @@
+require('./self-load.js');
+module.exports = 'dirindex'; \ No newline at end of file
diff --git a/thirdparty/systemjs/test/tests/testpkg/dir/self-load.js b/thirdparty/systemjs/test/tests/testpkg/dir/self-load.js
new file mode 100644
index 000000000..c6a24bda6
--- /dev/null
+++ b/thirdparty/systemjs/test/tests/testpkg/dir/self-load.js
@@ -0,0 +1,2 @@
+exports.a = require('..');
+exports.b = require('../'); \ No newline at end of file