Ensure page titles are always correct

This commit is contained in:
Andrew Miner
2015-03-01 11:18:30 -08:00
parent ef63d6f110
commit d530ff73a3
11 changed files with 93 additions and 34 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class EventRecorder
Object.defineProperty this, 'names', get:-> e.event for e in @events
@model.on 'all', (event, model, args...)=>
logger.verbose "#{model?.constructor?.name}(#{model?.cid}) emitted #{event}
logger.verbose -> "#{model?.constructor?.name}(#{model?.cid}) emitted #{event}
with args: #{util.inspect(args)}"
@events.push id:model?.cid, event:event, args:args