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 /src | |
parent | d2af8af05e1c1f7b2b3046401d8d2e66954742f0 (diff) | |
download | svg.js-016720aec2b7d52be19f91151370617aaaa91709.tar.gz svg.js-016720aec2b7d52be19f91151370617aaaa91709.zip |
changing to strict mode - some failures occur
Diffstat (limited to 'src')
-rw-r--r-- | src/svg.js | 4 | ||||
-rw-r--r-- | src/umd.js | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ +'use strict' + // The main wrapping element -var SVG = this.SVG = function(element) { +var SVG = function(element) { if (SVG.supported) { element = new SVG.Doc(element) @@ -14,4 +14,4 @@ return SVG -}));
\ No newline at end of file +})); |