Enable while True auto yielding for all level types
This commit is contained in:
parent
b03091c35d
commit
3ed755076b
2 changed files with 1 additions and 2 deletions
app
|
@ -13,7 +13,7 @@ module.exports.createAetherOptions = (options) ->
|
||||||
skipDuplicateUserInfoInFlow: true # Optimization that won't work if we are stepping with frames
|
skipDuplicateUserInfoInFlow: true # Optimization that won't work if we are stepping with frames
|
||||||
yieldConditionally: options.functionName is 'plan'
|
yieldConditionally: options.functionName is 'plan'
|
||||||
simpleLoops: true
|
simpleLoops: true
|
||||||
whileTrueAutoYield: options.whileTrueAutoYield ? false
|
whileTrueAutoYield: true
|
||||||
globals: ['Vector', '_']
|
globals: ['Vector', '_']
|
||||||
problems:
|
problems:
|
||||||
jshint_W040: {level: 'ignore'}
|
jshint_W040: {level: 'ignore'}
|
||||||
|
|
|
@ -159,7 +159,6 @@ module.exports = class Spell
|
||||||
skipProtectAPI: skipProtectAPI
|
skipProtectAPI: skipProtectAPI
|
||||||
includeFlow: includeFlow
|
includeFlow: includeFlow
|
||||||
problemContext: problemContext
|
problemContext: problemContext
|
||||||
whileTrueAutoYield: @levelType is 'course'
|
|
||||||
aether = new Aether aetherOptions
|
aether = new Aether aetherOptions
|
||||||
if @worker
|
if @worker
|
||||||
workerMessage =
|
workerMessage =
|
||||||
|
|
Reference in a new issue