summaryrefslogtreecommitdiffstats
path: root/src/path.js
diff options
context:
space:
mode:
authorSaivan <savian@me.com>2018-02-27 02:08:37 +1100
committerSaivan <savian@me.com>2018-02-27 02:08:37 +1100
commitdc6a25c008da1d84d49ffb4902a31fc5477e578e (patch)
treeb1edf8a35054f0bf16b6a310d4ef09d5f43d1851 /src/path.js
parent15637375c5a00b64ae6b493187e5791cfadbc94f (diff)
downloadsvg.js-dc6a25c008da1d84d49ffb4902a31fc5477e578e.tar.gz
svg.js-dc6a25c008da1d84d49ffb4902a31fc5477e578e.zip
Actually added the linter to gulp and fixed most errors
This commit fixes most of the errors raised by standard. There is still a strange call error, but that will be the focus of the next commit
Diffstat (limited to 'src/path.js')
-rw-r--r--src/path.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/path.js b/src/path.js
index 041027b..db3929b 100644
--- a/src/path.js
+++ b/src/path.js
@@ -1,3 +1,5 @@
+/* global proportionalSize */
+
SVG.Path = SVG.invent({
// Initialize node
create: 'path',
@@ -8,7 +10,7 @@ SVG.Path = SVG.invent({
// Add class methods
extend: {
// Define morphable array
- morphArray: SVG.PathArray,
+ MorphArray: SVG.PathArray,
// Get array
array: function () {
return this._array || (this._array = new SVG.PathArray(this.attr('d')))