Author: ygrego Date: 2015-03-30 10:27:42 +0000 (Mon, 30 Mar 2015) New Revision: 977 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/977 Log: Deletion of variable self in method "bindToCurrentChannel". Modified: oipf/js/impl/VideoBroadcastObject.js Modified: oipf/js/impl/VideoBroadcastObject.js =================================================================== --- oipf/js/impl/VideoBroadcastObject.js 2015-03-30 10:24:58 UTC (rev 976) +++ oipf/js/impl/VideoBroadcastObject.js 2015-03-30 10:27:42 UTC (rev 977) @@ -315,7 +315,6 @@ var channelConfig = this._channelService; var currentChannel = channelConfig.currentChannel; - var self = this; this._timer && this._timer.cancel(); switch (this.playState) { @@ -328,12 +327,11 @@ .then(this.changePlayState.bind(this, this._CONNECTING)) .then(this.setCurrentChannel.bind(this, currentChannel)) .then(this.changePlayState.bind(this, this._PRESENTING)); - } /* * When there isn't channel presented, the video-broadcast * object and his state equals to Unrealized, so it's not - * necessary to change its state. + * necessary to change its state. */ break;