summaryrefslogtreecommitdiffstats
path: root/src/array.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/array.js')
-rw-r--r--src/array.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/array.js b/src/array.js
index 5ce0160..ca51d8e 100644
--- a/src/array.js
+++ b/src/array.js
@@ -49,7 +49,7 @@ SVG.extend(SVG.Array, {
// Get morphed array at given position
at: function (pos) {
// make sure a destination is defined
- if (!this.destination) throw new Error('No destination set')
+ if (!this.destination) return this
// generate morphed array
for (var i = 0, il = this.value.length, array = []; i < il; i++) {