How to use the babel-runtime/helpers/get function in babel-runtime

To help you get started, we’ve selected a few babel-runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / ons-navigator / ios-fade-animator.js View on Github external
value: function push(enterPage, leavePage, callback) {
      var unblock = _get(IOSFadeNavigatorAnimator.prototype.__proto__ || _Object$getPrototypeOf(IOSFadeNavigatorAnimator.prototype), 'block', this).call(this, enterPage);

      animit.runAll(animit(enterPage, this.def).default({ transform: transform, opacity: 0 }, { transform: transform, opacity: 1 }).queue(function (done) {
        unblock();
        callback();
        done();
      }));
    }
github axa-ch / patterns-library / lib / components / m-header-mobile / index.js View on Github external
value: function connectedCallback() {
      _get(AXAHeaderMobile.prototype.__proto__ || _Object$getPrototypeOf(AXAHeaderMobile.prototype), 'connectedCallback', this).call(this);

      this.className = this.initialClassName + ' m-header-mobile';
    }
  }, {
github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / ons-popover / index.js View on Github external
options = _extends({}, target);
      } else {
        options = _extends({}, options, { target: target });
      }

      if (typeof options.target === 'string') {
        options.target = document.querySelector(options.target);
      } else if (options.target instanceof Event) {
        options.target = options.target.target;
      }

      if (!(options.target instanceof HTMLElement)) {
        util.throw('Invalid target type or undefined');
      }

      return _get(PopoverElement.prototype.__proto__ || _Object$getPrototypeOf(PopoverElement.prototype), 'show', this).call(this, options);
    }
github axa-ch / patterns-library / lib / components / m-header-languages / index.js View on Github external
value: function connectedCallback() {
      _get(AXAHeaderLanguages.prototype.__proto__ || _Object$getPrototypeOf(AXAHeaderLanguages.prototype), 'connectedCallback', this).call(this);

      this.className = this.initialClassName + ' m-header-languages js-dropdown';
    }
  }, {
github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / base / base-checkbox.js View on Github external
value: function attributeChangedCallback(name, last, current) {
      switch (name) {
        case 'checked':
          this.checked = current !== null;
          break;
        default:
          _get(BaseCheckboxElement.prototype.__proto__ || _Object$getPrototypeOf(BaseCheckboxElement.prototype), 'attributeChangedCallback', this).call(this, name, last, current);
      }
    }
  }, {
github axa-ch / patterns-library / lib / components / o-accordion / index.js View on Github external
value: function disconnectedCallback() {
      _get(AXAAccordion.prototype.__proto__ || _Object$getPrototypeOf(AXAAccordion.prototype), 'disconnectedCallback', this).call(this);
    }
  }]);
github axa-ch / patterns-library / lib / components / m-accordion-item / index.js View on Github external
value: function disconnectedCallback() {
      _get(AXAAccordionItem.prototype.__proto__ || _Object$getPrototypeOf(AXAAccordionItem.prototype), 'disconnectedCallback', this).call(this);

      this.interaction.destroy();
      delete this.interaction;
    }
  }, {
github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / ons-action-sheet / index.js View on Github external
value: function attributeChangedCallback(name, last, current) {
      if (name === 'title') {
        this._updateTitle();
      } else {
        _get(ActionSheetElement.prototype.__proto__ || _Object$getPrototypeOf(ActionSheetElement.prototype), 'attributeChangedCallback', this).call(this, name, last, current);
      }
    }
github axa-ch / patterns-library / lib / components / a-typo / index.js View on Github external
value: function connectedCallback() {
      _get(AXATypo.prototype.__proto__ || _Object$getPrototypeOf(AXATypo.prototype), 'connectedCallback', this).call(this);

      this.className = this.initialClassName + ' a-typo';
    }
  }]);
github axa-ch / patterns-library / lib / components / o-sticky / index.js View on Github external
value: function connectedCallback() {
      _get(AXAStickyContainer.prototype.__proto__ || _Object$getPrototypeOf(AXAStickyContainer.prototype), 'connectedCallback', this).call(this);

      var debug = this.debug;


      this.className = classnames(this.initialClassName, 'o-sticky-container js-sticky-container', {
        'o-sticky-container--debug': debug
      });

      this.stickyContainer = new StickyContainer(this);
    }
  }, {