It is mistake it should be like below.
 var defaultFocus = this.focusModes.continuousFocus ||
   this.focusModes.autoFocus || this.focusModes.fixedFocus;
  if (defaultFocus && defaultFocus.disable) {
    defaultFocus.disable();
  }