r1584 - oipf/js/impl/model
Author: ygrego Date: 2015-05-29 15:55:47 +0000 (Fri, 29 May 2015) New Revision: 1584 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1584 Log: Addition of properties in order to manage dispatch of event and the asynchronous methods. Modified: oipf/js/impl/model/Application.js Modified: oipf/js/impl/model/Application.js =================================================================== --- oipf/js/impl/model/Application.js 2015-05-29 15:50:53 UTC (rev 1583) +++ oipf/js/impl/model/Application.js 2015-05-29 15:55:47 UTC (rev 1584) @@ -74,6 +74,13 @@ this.active = false; this.visible = false; this._setWindow(windowApp); + + this._listeners = {}; + this._callbacks = {}; + this._eventManager = new EventManager(); + + this._timerManager = new TimerManager(); + this._timeout = this._timerManager.createTimer.bind(this._timerManager, 0); }, /*
participants (1)
-
ygregoï¼ users.nuiton.org