summaryrefslogtreecommitdiffstats
path: root/src/umd.js
blob: 60b5785e5013d4da421b407a84098b01e431c77d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(function(root, factory) {
  if (typeof define === 'function' && define.amd) {
    define(factory);
  } 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

}));