lint: bad white space and var redeclare

This commit is contained in:
jean-emmanuel 2018-07-19 11:05:34 +02:00
parent 778aaf21ad
commit 105c909d0a
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ var Parser = class Parser {
}
for (let j in props) {
if (defaults[j] === undefined || j[0] === '_') delete props[j]
if (defaults[j] === undefined || j[0] === '_') delete props[j]
}
// Genrate widget's id, based on its type

View file

@ -100,7 +100,7 @@ class Matrix extends _matrix_base {
var hashes = [...this.childrenHashes]
this.childrenHashes = []
for (var i = hashes.length - 1; i >= 0; i--) {
for (let i = hashes.length - 1; i >= 0; i--) {
let widget = widgetManager.widgets[hashes[i]],
data = this.resolveProp('props', undefined, false, false, false, {'$':i})
@ -121,7 +121,7 @@ class Matrix extends _matrix_base {
} else {
// widgets recreated
for (var i = this.childrenHashes.length - 1; i >= 0; i--) {
for (let i = this.childrenHashes.length - 1; i >= 0; i--) {
let widget = widgetManager.widgets[this.childrenHashes[i]]
if (!widget) {
this.childrenHashes.splice(i, 1)