summaryrefslogtreecommitdiffstats
path: root/src
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
parentd2af8af05e1c1f7b2b3046401d8d2e66954742f0 (diff)
downloadsvg.js-016720aec2b7d52be19f91151370617aaaa91709.tar.gz
svg.js-016720aec2b7d52be19f91151370617aaaa91709.zip
changing to strict mode - some failures occur
Diffstat (limited to 'src')
-rw-r--r--src/svg.js4
-rw-r--r--src/umd.js2
2 files changed, 4 insertions, 2 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)
diff --git a/src/umd.js b/src/umd.js
index 3ef3ab9..90184d8 100644
--- a/src/umd.js
+++ b/src/umd.js
@@ -14,4 +14,4 @@
return SVG
-})); \ No newline at end of file
+}));