summaryrefslogtreecommitdiffstats
path: root/src/Shape.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-10-25 23:26:38 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-10-25 23:26:38 +0200
commit464af8b747389b7fdb569a933591c863b9be0f6b (patch)
treea23da0d70a26c142616207b0a0a489affd2f3ac6 /src/Shape.js
parentf46aedf58fbc93483cb21017ffed10e439830108 (diff)
downloadsvg.js-464af8b747389b7fdb569a933591c863b9be0f6b.tar.gz
svg.js-464af8b747389b7fdb569a933591c863b9be0f6b.zip
Rename files so that they reflect their exported classes (see next commit)
Diffstat (limited to 'src/Shape.js')
-rw-r--r--src/Shape.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Shape.js b/src/Shape.js
new file mode 100644
index 0000000..cb15098
--- /dev/null
+++ b/src/Shape.js
@@ -0,0 +1,10 @@
+
+SVG.Shape = SVG.invent({
+ // Initialize node
+ create: function (node) {
+ SVG.Element.call(this, node)
+ },
+
+ // Inherit from
+ inherit: SVG.Element
+})