diff options
Diffstat (limited to 'src/shape.js')
-rw-r--r-- | src/shape.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shape.js b/src/shape.js index 3bfc210..0f7b954 100644 --- a/src/shape.js +++ b/src/shape.js @@ -1,10 +1,10 @@ SVG.Shape = SVG.invent({ // Initialize node - create: function(element) { - this.constructor.call(this, element) + create: function(node) { + this.constructor.call(this, node) } // Inherit from , inherit: SVG.Element -})
\ No newline at end of file +}) |