Author: ygrego Date: 2015-06-12 14:23:16 +0000 (Fri, 12 Jun 2015) New Revision: 1711 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1711 Log: Avoid the duplication of somes properties, unnecessary. Modified: oipf/lib/js/impl/ApplicationManagerObject.js Modified: oipf/lib/js/impl/ApplicationManagerObject.js =================================================================== --- oipf/lib/js/impl/ApplicationManagerObject.js 2015-06-12 14:11:54 UTC (rev 1710) +++ oipf/lib/js/impl/ApplicationManagerObject.js 2015-06-12 14:23:16 UTC (rev 1711) @@ -160,23 +160,19 @@ this.widgets = null; this._currentApplication = null; - this._rootApplication = null; + this._hiddenSystemRootNode = []; + this._activeApplicationsList = new ApplicationCollection(); + this._visibleApplicationsList = new ApplicationCollection(); - this._hiddenSystemRootNode = null; - - this._activeApplicationsList = null; - - this._visibleApplicationsList = null; this._applicationVisualizationMode = applicationVisualizationMode; + this._listeners = {}; this._callbacks = {}; this._eventManager = new EventManager(); - this._timerManager = new TimerManager(); this._timeout = this._timerManager.createTimer.bind(this._timerManager, 0); - this._hiddenSystemRootNode = []; - this._activeApplicationsList = new ApplicationCollection(); + this._createRootApplication(); }
participants (1)
-
ygregoï¼ users.nuiton.org