Author: ygrego Date: 2015-04-01 09:20:29 +0000 (Wed, 01 Apr 2015) New Revision: 1010 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1010 Log: Some logs added in method "createTimer". Modified: oipf/js/utils/TimerManager.js Modified: oipf/js/utils/TimerManager.js =================================================================== --- oipf/js/utils/TimerManager.js 2015-04-01 09:18:21 UTC (rev 1009) +++ oipf/js/utils/TimerManager.js 2015-04-01 09:20:29 UTC (rev 1010) @@ -10,8 +10,11 @@ createTimer: function(time) { if (this.timer) { this.timer.cancel(); + console.log("cancelTimer", this.timer.timerId); } this.timer = new Timeout(time); + console.log("createTimer", this.timer.timerId); + return this.timer; }, clearTimer: function() {