Fixed (sort of).

This commit is contained in:
Nick Winter 2014-04-14 11:18:02 -07:00
parent b40e4dca37
commit 1794e5e040
2 changed files with 5 additions and 3 deletions
app/views/play/level/tome

View file

@ -90,8 +90,10 @@ module.exports = class Spell
problems:
jshint_W040: {level: "ignore"}
jshint_W030: {level: "ignore"} # aether_NoEffect instead
jshint_W038: {level: "ignore"} #eliminates hoisting problems
jshint_W091: {level: "ignore"} #eliminates more hoisting problems
jshint_W038: {level: "ignore"} # eliminates hoisting problems
jshint_W091: {level: "ignore"} # eliminates more hoisting problems
jshint_E043: {level: "ignore"} # https://github.com/codecombat/codecombat/issues/813 -- since we can't actually tell JSHint to really ignore things
jshint_Unknown: {level: "ignore"} # E043 also triggers Unknown, so ignore that, too
aether_MissingThis: {level: (if thang.requiresThis then 'error' else 'warning')}
language: aceConfig.language ? 'javascript'
functionName: @name

View file

@ -82,7 +82,7 @@ module.exports = class SpellView extends View
@ace.setShowPrintMargin false
@ace.setShowInvisibles aceConfig.invisibles
@ace.setBehavioursEnabled aceConfig.behaviors
@ace.setAnimatedScroll true
@ace.setAnimatedScroll true
@ace.setKeyboardHandler @keyBindings[aceConfig.keyBindings ? 'default']
@toggleControls null, @writable
@aceSession.selection.on 'changeCursor', @onCursorActivity