summaryrefslogtreecommitdiffstats
path: root/src/defs.js
blob: 875013baf8a77363c5a9ece625da36884f763694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// ### The defs node

//
SVG.Defs = function Defs() {
  this.constructor.call(this, SVG.create('defs'));
};

// Inherits from SVG.Element
SVG.Defs.prototype = new SVG.Element();

// Include the container object
SVG.extend(SVG.Defs, SVG.Container);