From 2380c67d4ddded556617760b4b3cb38a1d7758e2 Mon Sep 17 00:00:00 2001 From: wout Date: Fri, 4 Jan 2013 19:12:16 +0100 Subject: Made code more readable and included docs --- src/defs.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/defs.js') diff --git a/src/defs.js b/src/defs.js index 2ba11e8..875013b 100644 --- a/src/defs.js +++ b/src/defs.js @@ -1,10 +1,12 @@ +// ### The defs node +// SVG.Defs = function Defs() { this.constructor.call(this, SVG.create('defs')); }; -// inherit from SVG.Element +// Inherits from SVG.Element SVG.Defs.prototype = new SVG.Element(); -// include the container object +// Include the container object SVG.extend(SVG.Defs, SVG.Container); \ No newline at end of file -- cgit v1.2.3