lint: bad white space and var redeclare
This commit is contained in:
parent
778aaf21ad
commit
105c909d0a
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue