Okay, protectAPI should really work for Dungeon Arena now with the latest Aether change. Added a couple i18n spaces.

This commit is contained in:
Nick Winter 2014-03-12 20:59:19 -07:00
parent 6eda2d24a5
commit 28d56f526e
4 changed files with 4 additions and 2 deletions

View file

@ -5,6 +5,7 @@ div#columns.row
tr
th(colspan=4, style="color: #{team.primaryColor}")
span= team.name
span
span(data-i18n="ladder.leaderboard") Leaderboard
tr
th(data-i18n="general.rank") Rank

View file

@ -13,6 +13,7 @@ div#columns.row
th(colspan=4, style="color: #{team.primaryColor}")
span(data-i18n="ladder.summary_your") Your
|#{team.name}
|
span(data-i18n="ladder.summary_matches") Matches -
|#{team.wins}
span(data-i18n="ladder.summary_wins") Wins,

View file

@ -130,7 +130,7 @@ module.exports = class TomeView extends View
unless method.cloneOf
skipProtectAPI = @getQueryVariable("skip_protect_api") is "true" or @options.levelID isnt 'brawlwood'
skipProtectAPI = true # gah, it's so slow :( and somehow still affects simulation
#skipProtectAPI = false if @options.levelID is 'dungeon-arena'
skipProtectAPI = false if @options.levelID is 'dungeon-arena'
skipFlow = @getQueryVariable("skip_flow") is "true" or @options.levelID is 'brawlwood'
spell = @spells[spellKey] = new Spell programmableMethod: method, spellKey: spellKey, pathComponents: pathPrefixComponents.concat(pathComponents), session: @options.session, supermodel: @supermodel, skipFlow: skipFlow, skipProtectAPI: skipProtectAPI, worker: @worker
for thangID, spellKeys of @thangSpells

View file

@ -32,7 +32,7 @@
"firepad": "~0.1.2",
"marked": "~0.3.0",
"moment": "~2.5.0",
"aether": "~0.1.2",
"aether": "~0.1.9",
"underscore.string": "~2.3.3",
"firebase": "~1.0.2",
"catiline": "~2.9.3"