How to use the babel-runtime/core-js/object/get-prototype-of 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-ripple / index.js View on Github external
function RippleElement() {
    _classCallCheck(this, RippleElement);

    var _this = _possibleConstructorReturn(this, (RippleElement.__proto__ || _Object$getPrototypeOf(RippleElement)).call(this));

    _this._onTap = _this._onTap.bind(_this);
    _this._onHold = _this._onHold.bind(_this);
    _this._onDragStart = _this._onDragStart.bind(_this);
    _this._onRelease = _this._onRelease.bind(_this);

    contentReady(_this, function () {
      return _this._compile();
    });

    _this._animator = new Animator();

    ['color', 'center', 'start-radius', 'background', 'modifier'].forEach(function (e) {
      _this.attributeChangedCallback(e, null, _this.getAttribute(e));
    });
    return _this;
github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / ons-alert-dialog / animator.js View on Github external
function AndroidAlertDialogAnimator() {
    var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
        _ref2$timing = _ref2.timing,
        timing = _ref2$timing === undefined ? 'cubic-bezier(.1, .7, .4, 1)' : _ref2$timing,
        _ref2$duration = _ref2.duration,
        duration = _ref2$duration === undefined ? 0.2 : _ref2$duration,
        _ref2$delay = _ref2.delay,
        delay = _ref2$delay === undefined ? 0 : _ref2$delay;

    _classCallCheck(this, AndroidAlertDialogAnimator);

    return _possibleConstructorReturn(this, (AndroidAlertDialogAnimator.__proto__ || _Object$getPrototypeOf(AndroidAlertDialogAnimator)).call(this, { duration: duration, timing: timing, delay: delay }));
  }
github davidhealey / waistline / platforms / android / app / src / main / assets / www / onsen / esm / elements / ons-page.js View on Github external
function PageElement() {
    _classCallCheck(this, PageElement);

    var _this = _possibleConstructorReturn(this, (PageElement.__proto__ || _Object$getPrototypeOf(PageElement)).call(this));

    _this._deriveHooks();

    _this._defaultClassName = defaultClassName;
    _this.classList.add(defaultClassName);

    _this._initialized = false;

    contentReady(_this, function () {
      _this._compile();

      _this._isShown = false;
      _this._contentElement = _this._getContentElement();
      _this._backgroundElement = _this._getBackgroundElement();
    });
    return _this;
github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / base / base-dialog.js View on Github external
function BaseDialogElement() {
    _classCallCheck(this, BaseDialogElement);

    var _this = _possibleConstructorReturn(this, (BaseDialogElement.__proto__ || _Object$getPrototypeOf(BaseDialogElement)).call(this));

    if (_this.constructor === BaseDialogElement) {
      util.throwAbstract();
    }

    _this._visible = false;
    _this._doorLock = new DoorLock();
    _this._cancel = _this._cancel.bind(_this);
    _this._selfCamelName = util.camelize(_this.tagName.slice(4));
    _this._defaultDBB = function (e) {
      return _this.cancelable ? _this._cancel() : e.callParentHandler();
    };
    _this._animatorFactory = _this._updateAnimatorFactory();
    return _this;
  }
github axa-ch / patterns-library / lib / components / m-header-navigation / index.js View on Github external
function AXAHeaderNavigation() {
    _classCallCheck(this, AXAHeaderNavigation);

    var _this = _possibleConstructorReturn(this, (AXAHeaderNavigation.__proto__ || _Object$getPrototypeOf(AXAHeaderNavigation)).call(this, { styles: styles, template: template }));

    _this.consumeContext('axa-header-main');
    return _this;
  }
github axa-ch / patterns-library / lib / components / m-header-meta-right / index.js View on Github external
value: function connectedCallback() {
      _get(AXAHeaderMetaRight.prototype.__proto__ || _Object$getPrototypeOf(AXAHeaderMetaRight.prototype), 'connectedCallback', this).call(this);

      this.className = this.initialClassName + ' m-header-meta-right';
    }
  }]);
github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / ons-modal / index.js View on Github external
get: function get() {
      return [].concat(_toConsumableArray(_get(ModalElement.__proto__ || _Object$getPrototypeOf(ModalElement), 'observedAttributes', this)), ['class']);
    }
  }, {
github axa-ch / patterns-library / lib / components / m-footer-links / index.js View on Github external
function AXAFooterLinks() {
    _classCallCheck(this, AXAFooterLinks);

    return _possibleConstructorReturn(this, (AXAFooterLinks.__proto__ || _Object$getPrototypeOf(AXAFooterLinks)).call(this, { styles: styles, template: template }));
  }
github axa-ch / patterns-library / lib / components / o-cookie-disclaimer / index.js View on Github external
value: function render() {
      if (this.disclaimerHandler.hasAccepted()) {
        this.disclaimerHandler.cleanupWcNode();
      } else {
        _get(AXACookieDisclaimer.prototype.__proto__ || _Object$getPrototypeOf(AXACookieDisclaimer.prototype), 'render', this).call(this);
      }
    }
github axa-ch / patterns-library / lib / components / a-checkbox / index.js View on Github external
function AXACheckbox() {
    _classCallCheck(this, AXACheckbox);

    return _possibleConstructorReturn(this, (AXACheckbox.__proto__ || _Object$getPrototypeOf(AXACheckbox)).call(this, { styles: styles, template: template }));
  }