aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader.js')
-rw-r--r--src/loader.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/loader.js b/src/loader.js
new file mode 100644
index 0000000..80644d8
--- /dev/null
+++ b/src/loader.js
@@ -0,0 +1,6 @@
+
+// Use AMD or CommonJS if either is present
+if (typeof define === 'function' && define.amd)
+ define(function() { return SVG })
+else if (typeof exports !== 'undefined')
+ exports.SVG = SVG \ No newline at end of file