aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/systemjs/test/tests/legacy-plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/systemjs/test/tests/legacy-plugin.js')
-rw-r--r--thirdparty/systemjs/test/tests/legacy-plugin.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/thirdparty/systemjs/test/tests/legacy-plugin.js b/thirdparty/systemjs/test/tests/legacy-plugin.js
new file mode 100644
index 000000000..89fd23f8e
--- /dev/null
+++ b/thirdparty/systemjs/test/tests/legacy-plugin.js
@@ -0,0 +1,5 @@
+module.exports = function(name, address, fetch, callback, errback) {
+ fetch(address, function(source) {
+ callback('exports.plugin = true; ' + source);
+ });
+}