aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/systemjs/test/tests/testpkg/json.js
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/systemjs/test/tests/testpkg/json.js')
-rw-r--r--thirdparty/systemjs/test/tests/testpkg/json.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/thirdparty/systemjs/test/tests/testpkg/json.js b/thirdparty/systemjs/test/tests/testpkg/json.js
new file mode 100644
index 000000000..278833a81
--- /dev/null
+++ b/thirdparty/systemjs/test/tests/testpkg/json.js
@@ -0,0 +1,4 @@
+exports.translate = function(load) {
+ load.metadata.format = 'cjs';
+ return 'module.exports = ' + load.source;
+}; \ No newline at end of file