19 lines
509 B
JavaScript
19 lines
509 B
JavaScript
(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) {
|
|
|
|
<%= contents %>
|
|
|
|
return SVG
|
|
|
|
}));
|