diff --git a/app/lib/aether_utils.coffee b/app/lib/aether_utils.coffee index d6209f22d..a6efcd0fd 100644 --- a/app/lib/aether_utils.coffee +++ b/app/lib/aether_utils.coffee @@ -8,12 +8,12 @@ module.exports.createAetherOptions = (options) -> throw new Error 'Specify a code language to create an Aether instance' unless options.codeLanguage useInterpreter = options.useInterpreter - defaultToEsper = switch options.codeLanguage - when 'python' then me.level() < 15 # Esper currently works well until using range() - when 'javascript' then me.level() < 22 # Esper currently works well until using hero.myFn = function() pattern - when 'lua' then me.level() < 10 # Functions don't work in Esper yet, can't play forest function levels - when 'coffeescript' then false # CoffeeScript has a toNative error if it ever finishes plan(), and also @fn = -> pattern doesn't work - when 'clojure' then false # No Clojure support + defaultToEsper = false #switch options.codeLanguage +# when 'python' then me.level() < 15 # Esper currently works well until using range() +# when 'javascript' then me.level() < 22 # Esper currently works well until using hero.myFn = function() pattern +# when 'lua' then me.level() < 10 # Functions don't work in Esper yet, can't play forest function levels +# when 'coffeescript' then false # CoffeeScript has a toNative error if it ever finishes plan(), and also @fn = -> pattern doesn't work +# when 'clojure' then false # No Clojure support useInterpreter ?= !!utils.getQueryVariable 'esper', defaultToEsper aetherOptions = functionName: options.functionName diff --git a/app/schemas/models/level_session.coffee b/app/schemas/models/level_session.coffee index c8b63902a..339d1f491 100644 --- a/app/schemas/models/level_session.coffee +++ b/app/schemas/models/level_session.coffee @@ -55,9 +55,9 @@ _.extend LevelSessionSchema.properties, title: 'Changed' readOnly: true - dateFirstCompleted: c.stringDate - title: 'Completed' - readOnly: true + dateFirstCompleted: {} # c.stringDate +# title: 'Completed' +# readOnly: true team: c.shortString() level: LevelSessionLevelSchema