diff --git a/app/views/play/level/tome/spell.coffee b/app/views/play/level/tome/spell.coffee index 832d59623..573ff9206 100644 --- a/app/views/play/level/tome/spell.coffee +++ b/app/views/play/level/tome/spell.coffee @@ -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 diff --git a/app/views/play/level/tome/spell_view.coffee b/app/views/play/level/tome/spell_view.coffee index 5a8dd6a57..4951b6915 100644 --- a/app/views/play/level/tome/spell_view.coffee +++ b/app/views/play/level/tome/spell_view.coffee @@ -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