summaryrefslogtreecommitdiffstats
path: root/src/defs.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-01-04 19:12:16 +0100
committerwout <wout@impinc.co.uk>2013-01-04 19:12:16 +0100
commit2380c67d4ddded556617760b4b3cb38a1d7758e2 (patch)
treec0bd5ee57a4c83e5d8860becba7766188344eda3 /src/defs.js
parent40de19951d0a4218ee2625fa9a1a69f04e79692d (diff)
downloadsvg.js-2380c67d4ddded556617760b4b3cb38a1d7758e2.tar.gz
svg.js-2380c67d4ddded556617760b4b3cb38a1d7758e2.zip
Made code more readable and included docs
Diffstat (limited to 'src/defs.js')
-rw-r--r--src/defs.js6
1 files changed, 4 insertions, 2 deletions
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