From 0680822c1923f6a70714527a024fcb57da20ae26 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Thu, 11 Apr 2013 11:30:40 -0400 Subject: [PATCH] remoeve character.coffee self-reference --- src/app/character.coffee | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/character.coffee b/src/app/character.coffee index 1ac4c446d4..d7e87a8abb 100644 --- a/src/app/character.coffee +++ b/src/app/character.coffee @@ -1,4 +1,3 @@ -character = require './character' browser = require './browser' items = require './items' algos = require './algos' @@ -28,13 +27,13 @@ module.exports.app = (appExports, model) -> items.updateStore(model) appExports.revive = (e, el) -> - batch = new character.BatchUpdate(model) + batch = new BatchUpdate(model) batch.startTransaction() revive(batch) batch.commit() appExports.reset = (e, el) -> - batch = new character.BatchUpdate(model) + batch = new BatchUpdate(model) batch.startTransaction() taskTypes = ['habit', 'daily', 'todo', 'reward'] batch.set 'tasks', {}