Linting on PLIST viewer operation.

This commit is contained in:
n1073645 2019-11-25 10:37:30 +00:00
parent 0295d0c9b4
commit d8405e5f81

View File

@ -71,8 +71,8 @@ class PLISTViewer extends Operation {
* @param {array} vals
* @param {number} offset
*/
function braces(elem, vals,offset) {
let temp = vals.indexOf(elem);
function braces(elem, vals, offset) {
const temp = vals.indexOf(elem);
if (temp !== -1) {
depthCount += offset;
if (temp === 1)
@ -129,7 +129,7 @@ class PLISTViewer extends Operation {
result += temp;
// Controls the tab depth for how many opening braces there have been.
braces(currElem, ["{", "["],1);
braces(currElem, ["{", "["], 1);
// If there has been a new array then reset index.
if (arrCount > origArr)