Fix left-over make.number.rangeNumber reference
This commit is contained in:
parent
7801a05769
commit
fe702f19ed
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ utils.script = {
|
||||||
return 'try { ' + s + ' } catch(e) { }'
|
return 'try { ' + s + ' } catch(e) { }'
|
||||||
},
|
},
|
||||||
makeLoop: function (s, max) {
|
makeLoop: function (s, max) {
|
||||||
return 'for (let i = 0; i < ' + (max || make.number.rangeNumber()) + '; i++) {' + s + '}'
|
return 'for (let i = 0; i < ' + (max || make.number.range()) + '; i++) {' + s + '}'
|
||||||
},
|
},
|
||||||
makeArray: function (type, arrayLength, cb) {
|
makeArray: function (type, arrayLength, cb) {
|
||||||
if (type === null || type === undefined) {
|
if (type === null || type === undefined) {
|
||||||
|
|
Loading…
Reference in a new issue