move idList back to root-level, is what's causing the sort bug - see https://github.com/codeparty/racer/pull/73

This commit is contained in:
Tyler Renelle
2013-02-08 20:48:31 -05:00
parent 648032228a
commit 5ea0dfe713
6 changed files with 37 additions and 18 deletions
+2
View File
@@ -4,6 +4,8 @@ module.exports.resetDom = (model) ->
window.DERBY.app.dom.clear()
window.DERBY.app.view.render(model)
model.fn '_tnl', '_user.stats.lvl', (lvl) -> (lvl*100)/5
_.each ['habit', 'daily', 'todo', 'reward'], (type) ->
model.refList "_#{type}List", "_user.tasks", "_user.{type}Ids"
module.exports.app = (appExports, model) ->
loadJavaScripts(model)