diff options
author | Alex Ewerlof <hanifbbz@gmail.com> | 2014-08-03 15:35:34 +0200 |
---|---|---|
committer | Alex Ewerlof <hanifbbz@gmail.com> | 2014-08-03 15:35:34 +0200 |
commit | f9f5081f0a8f05f0c42502cc955a035d187f6b5c (patch) | |
tree | 01f20615cd46adf446b381f40c7cd4fe62e107d3 /src | |
parent | 9d82574e95677ab156f429752b43f0af06156d67 (diff) | |
download | svg.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-x | src/loader.js | 6 |
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 |