diff options
Diffstat (limited to 'dist/svg.js')
-rwxr-xr-x | dist/svg.js | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/dist/svg.js b/dist/svg.js index 1367900..e35c5d2 100755 --- a/dist/svg.js +++ b/dist/svg.js @@ -1,5 +1,13 @@ -/* svg.js 1.0.0 - svg selector inventor polyfill regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient pattern doc shape symbol use rect ellipse line poly path image text textpath nested hyperlink marker sugar set data memory loader helpers - svgjs.com/license */ -;(function() { +/* svg.js 1.0.0-1-g04c734f - svg selector inventor polyfill regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient pattern doc shape symbol use rect ellipse line poly path image text textpath nested hyperlink marker sugar set data memory loader helpers - svgjs.com/license */ +;(function(root, factory) { + if (typeof define === 'function' && define.amd) { + define(factory); + } else if (typeof exports === 'object') { + module.exports = factory(); + } else { + root.SVG = factory(); + } +}(this, function() { var SVG = this.SVG = function(element) { if (SVG.supported) { @@ -3880,4 +3888,5 @@ function (c) { window.setTimeout(c, 1000 / 60) } })() -}).call(this); + return SVG +})); |