summaryrefslogtreecommitdiffstats
path: root/src/patharray.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/patharray.js')
-rwxr-xr-xsrc/patharray.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patharray.js b/src/patharray.js
index 1a2fdd5..746cdc4 100755
--- a/src/patharray.js
+++ b/src/patharray.js
@@ -1,6 +1,6 @@
// Path points array
SVG.PathArray = function(array, fallback) {
- this.constructor.call(this, array, fallback)
+ this.constructor.call(this, array, fallback || [['M', 0, 0]])
}
// Inherit from SVG.Array