summaryrefslogtreecommitdiffstats
path: root/src/Symbol.js
blob: ca6760799ea93038f477cd257d3b6ffef699dd21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SVG.Symbol = SVG.invent({
  // Initialize node
  create: 'symbol',

  // Inherit from
  inherit: SVG.Container,

  construct: {
    // create symbol
    symbol: function () {
      return this.put(new SVG.Symbol())
    }
  }
})