summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-03-28 11:16:10 +0100
committerwout <wout@impinc.co.uk>2013-03-28 11:16:10 +0100
commit089816c84f8ae573cf558fe3b0242847f9eacbe9 (patch)
tree7d605ae4dfd44d434a260aff6298d249f1b4bc62 /src/svg.js
parent7b0ba313154e6990fe0d11caa981dc4102193e5e (diff)
downloadsvg.js-089816c84f8ae573cf558fe3b0242847f9eacbe9.tar.gz
svg.js-089816c84f8ae573cf558fe3b0242847f9eacbe9.zip
Bug fix: recreating defs after clear()0.12
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 525df38..1de5c77 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -46,7 +46,7 @@ SVG.extend = function() {
var modules, methods, key, i
/* get list of modules */
- modules = Array.prototype.slice.call(arguments)
+ modules = [].slice.call(arguments)
/* get object with extensions */
methods = modules.pop()