From dc6a25c008da1d84d49ffb4902a31fc5477e578e Mon Sep 17 00:00:00 2001 From: Saivan Date: Tue, 27 Feb 2018 02:08:37 +1100 Subject: 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 --- src/path.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/path.js') 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'))) -- cgit v1.2.3