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

  // Inherit from
, inherit: SVG.Container

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