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/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 'src/svg.js')
-rw-r--r-- | src/svg.js | 4 |
1 files changed, 3 insertions, 1 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) |