Gaia/System/Refactoring Plan: Difference between revisions

Line 128: Line 128:
         */
         */
       this.publish('i-am-displayed');
       this.publish('i-am-displayed');
    },
    /**
    * DESCRIPTION-OF-START
    * @memberof Module.prototype
    */
    start: function() {
      window.addEventListener('someevent', this);
    },
    /**
    * DESCRIPTION-OF-STOP
    * @memberof Module.prototype
    */
    stop: function() {
      window.removeEventListener('someevent', this);
    },
    /**
    * DESCRIPTION-OF-EVENT-HANDLER
    * @memberof Module.prototype
    */
    handleEvent: function(evt) {
     },
     },


     /**
     /**
     * DESCRIPTION-OF-IMPORTANT-PUBLIC-ATTRIBUTE
     * DESCRIPTION-OF-IMPORTANT-PUBLIC-ATTRIBUTE
     * @memberof DevtoolsView.prototype
     * @memberof Module.prototype
     */
     */
     state: 'begin'
     state: 'begin'
Confirmed users
23

edits