summaryrefslogtreecommitdiffstats
path: root/src/SVGArray.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/SVGArray.js')
-rw-r--r--src/SVGArray.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/SVGArray.js b/src/SVGArray.js
index a442aad..247f0b2 100644
--- a/src/SVGArray.js
+++ b/src/SVGArray.js
@@ -1,7 +1,6 @@
-/* global arrayClone */
-import {delimiter} from './regex.js'
-import {subClassArray} from './ArrayPolyfill.js'
-import {extend} from './tools.js'
+import { delimiter } from './regex.js'
+import { subClassArray } from './ArrayPolyfill.js'
+import { extend } from './tools.js'
const SVGArray = subClassArray('SVGArray', Array, function (...args) {
this.init(...args)
@@ -11,7 +10,7 @@ export default SVGArray
extend(SVGArray, {
init (...args) {
- //this.splice(0, this.length)
+ // this.splice(0, this.length)
this.length = 0
this.push(...this.parse(...args))
},
@@ -37,7 +36,7 @@ extend(SVGArray, {
// Parse whitespace separated string
parse (array = []) {
- //array = array.valueOf()
+ // array = array.valueOf()
// If already is an array, no need to parse it
if (array instanceof Array) return array
@@ -51,7 +50,7 @@ extend(SVGArray, {
toSet () {
return new Set(this)
- },
+ }
})
// export default class SVGArray extends BaseArray {