diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-10-25 23:26:38 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-10-25 23:26:38 +0200 |
commit | 464af8b747389b7fdb569a933591c863b9be0f6b (patch) | |
tree | a23da0d70a26c142616207b0a0a489affd2f3ac6 /src/Shape.js | |
parent | f46aedf58fbc93483cb21017ffed10e439830108 (diff) | |
download | svg.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.js | 10 |
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 +}) |