Fix left-over make.number.rangeNumber reference

This commit is contained in:
Christoph Diehl 2017-06-10 07:23:38 +02:00
parent 7801a05769
commit fe702f19ed

View file

@ -65,7 +65,7 @@ utils.script = {
return 'try { ' + s + ' } catch(e) { }'
},
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) {
if (type === null || type === undefined) {