lint: var -> let
This commit is contained in:
parent
b071189c65
commit
f49fb43ec3
1 changed files with 2 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ class Matrix extends Panel {
|
|||
|
||||
if (oldPropValue > this.getProp('quantity')) {
|
||||
|
||||
for (var i = oldPropValue - 1; i >= this.getProp('quantity'); i--) {
|
||||
for (let i = oldPropValue - 1; i >= this.getProp('quantity'); i--) {
|
||||
if (this.widget.contains(this.children[i].container)) {
|
||||
this.widget.removeChild(this.children[i].container)
|
||||
}
|
||||
|
|
@ -142,7 +142,7 @@ class Matrix extends Panel {
|
|||
|
||||
this.cachedProps.props = this.resolveProp('props', undefined, true)
|
||||
|
||||
for (var i = oldPropValue; i < this.getProp('quantity'); i++) {
|
||||
for (let i = oldPropValue; i < this.getProp('quantity'); i++) {
|
||||
|
||||
var props = deepCopy(this.getProp('props')[i])
|
||||
var data = this.defaultProps(i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue