Converted all client code to Standard JS compliant

This commit is contained in:
NGPixel
2017-02-09 20:24:28 -05:00
parent 414dc386d6
commit 547f3065d3
28 changed files with 418 additions and 173 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
function setInputSelection (input, startPos, endPos) {
input.focus()
@@ -14,3 +15,5 @@ function setInputSelection (input, startPos, endPos) {
range.select()
}
}
/* eslint-enable no-unused-vars */

View File

@@ -1,3 +1,5 @@
/* global _ */
/* eslint-disable no-unused-vars */
function makeSafePath (rawPath) {
let rawParts = _.split(_.trim(rawPath), '/')
@@ -7,3 +9,5 @@ function makeSafePath (rawPath) {
return _.join(_.filter(rawParts, (r) => { return !_.isEmpty(r) }), '/')
}
/* eslint-enable no-unused-vars */