Logging
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 8 Apr 2013 13:04:10 +0000 (15:04 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 8 Apr 2013 13:04:10 +0000 (15:04 +0200)
runner.js

index e03d577..b7b0f65 100644 (file)
--- a/runner.js
+++ b/runner.js
@@ -31,6 +31,7 @@ var Runner = function($, _, app) {
         }\r
         \r
         this.publish = function(eventName) {\r
+            console.log(moduleName + ': ' + eventName);\r
             var eventArgs = Array.prototype.slice.call(arguments, 1)\r
             _.each(eventListeners, function(listenerModuleName) {\r
                 var listener = moduleInstances[listenerModuleName];\r