mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fixed #813 (sort of).
This commit is contained in:
parent
b40e4dca37
commit
1794e5e040
2 changed files with 5 additions and 3 deletions
app/views/play/level/tome
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue