diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2017-04-11 15:23:17 +0200 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2017-04-11 15:23:17 +0200 |
commit | 016720aec2b7d52be19f91151370617aaaa91709 (patch) | |
tree | 793d23449f13332835a7d2c71d2f6fd17dff7057 /dist/svg.js | |
parent | d2af8af05e1c1f7b2b3046401d8d2e66954742f0 (diff) | |
download | svg.js-016720aec2b7d52be19f91151370617aaaa91709.tar.gz svg.js-016720aec2b7d52be19f91151370617aaaa91709.zip |
changing to strict mode - some failures occur
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js index b086ba4..9819892 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -6,7 +6,7 @@ * @copyright Wout Fierens <wout@mick-wout.com> * @license MIT * -* BUILT: Sun Apr 09 2017 16:00:39 GMT+0200 (Mitteleuropäische Sommerzeit) +* BUILT: Tue Apr 11 2017 15:22:51 GMT+0200 (CEST) */; (function(root, factory) { if (typeof define === 'function' && define.amd) { @@ -20,8 +20,10 @@ } }(typeof window !== "undefined" ? window : this, function(window, document) { +'use strict' + // The main wrapping element -var SVG = this.SVG = function(element) { +var SVG = function(element) { if (SVG.supported) { element = new SVG.Doc(element) |