summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Ewerlof <hanifbbz@gmail.com>2014-08-03 15:35:34 +0200
committerAlex Ewerlof <hanifbbz@gmail.com>2014-08-03 15:35:34 +0200
commitf9f5081f0a8f05f0c42502cc955a035d187f6b5c (patch)
tree01f20615cd46adf446b381f40c7cd4fe62e107d3 /src
parent9d82574e95677ab156f429752b43f0af06156d67 (diff)
downloadsvg.js-f9f5081f0a8f05f0c42502cc955a035d187f6b5c.tar.gz
svg.js-f9f5081f0a8f05f0c42502cc955a035d187f6b5c.zip
Fixes #3 Support AMD, CommonJS (Browserify), globals (default method) using UMD wrapper
Diffstat (limited to 'src')
-rwxr-xr-xsrc/loader.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/loader.js b/src/loader.js
deleted file mode 100755
index 80644d8..0000000
--- a/src/loader.js
+++ /dev/null
@@ -1,6 +0,0 @@
-
-// 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