summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
authordotnetCarpenter <jon.ronnenberg@gmail.com>2017-04-11 15:23:17 +0200
committerdotnetCarpenter <jon.ronnenberg@gmail.com>2017-04-11 15:23:17 +0200
commit016720aec2b7d52be19f91151370617aaaa91709 (patch)
tree793d23449f13332835a7d2c71d2f6fd17dff7057 /src/svg.js
parentd2af8af05e1c1f7b2b3046401d8d2e66954742f0 (diff)
downloadsvg.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.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/svg.js b/src/svg.js
index ee8832e..62b8b77 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -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)