aboutsummaryrefslogtreecommitdiffstats
path: root/src/symbol.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/symbol.js')
-rw-r--r--src/symbol.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/symbol.js b/src/symbol.js
index f9c83e9..ca67607 100644
--- a/src/symbol.js
+++ b/src/symbol.js
@@ -1,14 +1,15 @@
+
SVG.Symbol = SVG.invent({
// Initialize node
- create: 'symbol'
+ create: 'symbol',
// Inherit from
-, inherit: SVG.Container
+ inherit: SVG.Container,
-, construct: {
+ construct: {
// create symbol
- symbol: function() {
- return this.put(new SVG.Symbol)
+ symbol: function () {
+ return this.put(new SVG.Symbol())
}
}
})