diff options
Diffstat (limited to 'src/svg.js')
-rw-r--r-- | src/svg.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ // Shortcut for creating a svg document -this.svg = function(e) { - return new SVG.Doc(e); +this.svg = function(element) { + return new SVG.Doc(element); }; // The main wrapping element |