summaryrefslogtreecommitdiffstats
path: root/src/umd.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/umd.js')
-rw-r--r--src/umd.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/umd.js b/src/umd.js
deleted file mode 100644
index bb8e300..0000000
--- a/src/umd.js
+++ /dev/null
@@ -1,28 +0,0 @@
-
-(function(root, factory) {
- /* istanbul ignore next */
- if (typeof define === 'function' && define.amd) {
- define(function(){
- return factory(root, root.document)
- })
- } else if (typeof exports === 'object') {
- module.exports = root.document ? factory(root, root.document) : function(w){ return factory(w, w.document) }
- } else {
- root.SVG = factory(root, root.document)
- }
-}(typeof window !== "undefined" ? window : this, function(window, document) {
-
-// Check that our browser supports svg
-var supported = !! document.createElementNS &&
- !! document.createElementNS('http://www.w3.org/2000/svg','svg').createSVGRect
-
-// If we don't support svg, just exit without doing anything
-if (!supported)
- return {supported: false}
-
-// Otherwise, the library will be here
-<%= contents %>
-
-return SVG
-
-}));