add pets count on character popover. also, static bindings wherever

possible - saves CPU
This commit is contained in:
Tyler Renelle
2013-04-15 02:27:38 -04:00
parent 9e86248120
commit 3a64c1104a
2 changed files with 7 additions and 4 deletions
+2
View File
@@ -151,4 +151,6 @@ viewHelpers = (view) ->
view.fn 'ownsPet', (pet, userPets) -> userPets?.indexOf(pet) != -1
view.fn 'count', (arr) -> (arr?.length - 1) or 0
module.exports = { viewHelpers, removeWhitespace, randomVal, daysBetween, dayMapping, username }