summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-21 21:01:03 +0100
committerwout <wout@impinc.co.uk>2012-12-21 21:01:03 +0100
commitcf1bd17eebe9b6cb8fac869aeec4245a0ec66fff (patch)
tree222e58dd0bb2729b237dafd22ba7077456c2b003 /src/svg.js
parent9dd851e68a3241883dea7236da48d4878b1b1899 (diff)
downloadsvg.js-cf1bd17eebe9b6cb8fac869aeec4245a0ec66fff.tar.gz
svg.js-cf1bd17eebe9b6cb8fac869aeec4245a0ec66fff.zip
Making the svg function global
Diffstat (limited to 'src/svg.js')
-rw-r--r--src/svg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg.js b/src/svg.js
index f33f9e7..0b05449 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -13,6 +13,6 @@ this.SVG = {
}
};
-this.svg = function(e) {
+window.svg = function(e) {
return new SVG.Doc(e);
}; \ No newline at end of file