menuActionHandler(action) {
    if (action.indexOf('application') === -1) {
      return;
    }
    switch (action) {
      case 'application:install-update':
        this.installUpdate();
      break;
      case 'application:check-for-update':
        this.check({
          notify: true
        });
      break;
    }
  }
/**
   * Event handler for menu actions.
   *
   * @param {String} action Menu action
   */
Event handler for menu actions.
@param {String} action Menu action
Event handler for menu actions . @param { String } action Menu action
menuActionHandler(action) {
    if (action.indexOf('application') === -1) {
      return;
    }
    switch (action) {
      case 'application:install-update':
        this.installUpdate();
      break;
      case 'application:check-for-update':
        this.check({
          notify: true
        });
      break;
    }
  }
menuActionHandler ( action ) { if ( action . indexOf ( 'application' ) === - 1 ) { return ; } switch ( action ) { case 'application:install-update' : this . installUpdate ( ) ; break ; case 'application:check-for-update' : this . check ( { notify : true } ) ; break ; } }
Event handler for menu actions.
Event handler for menu actions .