Merge branch 'master' into production

This commit is contained in:
Nick Winter 2014-08-28 09:52:10 -07:00
commit c71b10ad71
2 changed files with 2 additions and 1 deletions

View file

@ -37,6 +37,7 @@ module.exports =
'level:set-time': c.object {},
time: {type: 'number', minimum: 0}
ratio: {type: 'number', minimum: 0, maximum: 1}
ratioOffset: {type: 'number'}
frameOffset: {type: 'integer'}
scrubDuration: {type: 'integer', minimum: 0}

View file

@ -222,7 +222,7 @@ module.exports = class TomeView extends CocoView
spell
reloadAllCode: ->
spell.view.reloadCode false for spellKey, spell of @spells when spell.team is me.team or (spell.team in ['common', 'neutral', null])
spell.view.reloadCode false for spellKey, spell of @spells when spell.view and (spell.team is me.team or (spell.team in ['common', 'neutral', null]))
Backbone.Mediator.publish 'tome:cast-spells', spells: @spells, preload: false, realTime: false
updateLanguageForAllSpells: (e) ->