添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
满身肌肉的包子  ·  Array keys must be ...·  2 天前    · 
玩足球的斑马  ·  Space combat & WASD ...·  3 天前    · 
踏实的胡萝卜  ·  ✅ Problems with ...·  4 天前    · 
飘逸的冰淇淋  ·  How to use the ...·  6 天前    · 
风流倜傥的热带鱼  ·  Docs: Overview·  2 月前    · 
风流倜傥的火车  ·  阳光高考·  7 月前    · 

How to use the babel-runtime/core-js/object/keys 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 axa-ch / patterns-library / lib / js / free.js View on Github external
export function freeByValue(object, value) {
  // @TODO: may this should throw an error
  if (!object) {
    return false;
  var keys = _Object$keys(object);
  var length = keys.length;
  for (var i = 0; i < length; ++i) {
    var key = keys[i];
    if (object[key] === value) {
      return delete object[key];
  return false;
}
github davidhealey / waistline / platforms / android / app / build / intermediates / assets / debug / www / onsen / esm / ons / internal / lazy-repeat.js View on Github external
}
      if (isScrollUp) {
        for (var j = i - 1; j >= start; j--) {
          keep[j] = true;
          this._renderElement(j, isScrollUp);
      } else {
        var lastIndex = forceLastIndex || Math.max.apply(Math, [i - 1].concat(_toConsumableArray(_Object$keys(this._renderedItems)))); // Recalculate for 0 or undefined
        for (var _j = start; _j <= lastIndex; _j++) {
          keep[_j] = true;
          this._renderElement(_j, isScrollUp);
      _Object$keys(this._renderedItems).forEach(function (key) {
        return keep[key] || _this3._removeElement(key, isScrollUp);
    }
github ignoreintuition / v-chart-plugin / dist / module / v-chart-plugin.js View on Github external
setOverrides: function setOverrides(cs, overrides) {
          overrides = overrides || {};
          var keys = _Object$keys(cs);
          var _iteratorNormalCompletion = true;
          var _didIteratorError = false;
          var _iteratorError = undefined;
          try {
            for (var _iterator = _getIterator(keys), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
              var key = _step.value;
              _Object$assign(cs[key], overrides[key]);
          } catch (err) {
            _didIteratorError = true;
            _iteratorError = err;
          } finally {
            try {
              if (!_iteratorNormalCompletion && _iterator.return) {
github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / ons-navigator / ios-swipe-animator.js View on Github external
value: function _restoreStyle() {
      var _this5 = this;
      var restore = function restore(el) {
        _this5._savedStyle.get(el) === null ? el.removeAttribute('style') : el.setAttribute('style', _this5._savedStyle.get(el));
        _this5._savedStyle.delete(el);
      for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
        args[_key2] = arguments[_key2];
      args.forEach(restore);
      _Object$keys(this.decomp).forEach(function (p) {
        _Object$keys(_this5.decomp[p]).forEach(function (k) {
          (_this5.decomp[p][k] instanceof Array ? _this5.decomp[p][k] : [_this5.decomp[p][k]]).forEach(restore);
  }, {
github davidhealey / waistline / platforms / android / app / build / intermediates / assets / debug / www / onsen / esm / ons / internal / lazy-repeat.js View on Github external
value: function _calculateRenderedHeight() {
      var _this2 = this;
      return _Object$keys(this._renderedItems).reduce(function (a, b) {
        return a + _this2._getItemHeight(+b);
      }, 0);
  }, {
github davidhealey / waistline / platforms / android / app / build / intermediates / assets / debug / www / onsen / esm / ons / internal / lazy-repeat.js View on Github external
value: function _firstItemRendered() {
      return Math.min.apply(Math, _toConsumableArray(_Object$keys(this._renderedItems)));
  }, {
github deranjer / goTorrent / goTorrentWebUI / node_modules / material-ui / es / utils / helpers.js View on Github external
export function contains(obj, pred) {
  return _Object$keys(pred).every(key => {
    return obj.hasOwnProperty(key) && obj[key] === pred[key];
}
github deranjer / goTorrent / goTorrentWebUI / node_modules / material-ui / es / Tabs / Tab.js View on Github external
}
    const className = classNames(classes.root, classes[`root${capitalize(textColor)}`], {
      [classes[`root${capitalize(textColor)}Disabled`]]: disabled,
      [classes[`root${capitalize(textColor)}Selected`]]: selected,
      [classes.rootLabelIcon]: icon && label,
      [classes.fullWidth]: fullWidth
    }, classNameProp);
    let style = {};
    if (textColor !== 'secondary' && textColor !== 'inherit') {
      style.color = textColor;
    style = _Object$keys(style).length > 0 ? _extends({}, style, styleProp) : styleProp;
    return React.createElement(
      ButtonBase,
      _extends({
        focusRipple: true,
        className: className,
        style: style,
        role: 'tab',
        'aria-selected': selected,
        disabled: disabled
      }, other, {
        onClick: this.handleChange
      React.createElement(
        'span',
        { className: classes.wrapper },
github TeamScheire / bicycleLight / SmartLight / app / platforms / android / app / src / main / assets / www / lib / OnsenUI / esm / elements / ons-ripple / animator-js.js View on Github external
value: function stopAll() {
      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
      this.stopAnimations(_Object$keys(this._queue), options);
    }
github deranjer / goTorrent / goTorrentWebUI / node_modules / material-ui / es / Hidden / HiddenCss.js View on Github external
className,
    lgDown,
    lgUp,
    mdDown,
    mdUp,
    only,
    smDown,
    smUp,
    xlDown,
    xlUp,
    xsDown,
  } = props,
        other = _objectWithoutProperties(props, ['children', 'classes', 'className', 'lgDown', 'lgUp', 'mdDown', 'mdUp', 'only', 'smDown', 'smUp', 'xlDown', 'xlUp', 'xsDown', 'xsUp']);
  process.env.NODE_ENV !== "production" ? warning(_Object$keys(other).length === 0 || _Object$keys(other).length === 1 && other.hasOwnProperty('ref'), `Material-UI: unsupported properties received ${_Object$keys(other).join(', ')} by \`\`.`) : void 0;
  const classNames = [];
  if (className) {
    classNames.push(className);
  for (let i = 0; i < breakpointKeys.length; i += 1) {
    const breakpoint = breakpointKeys[i];
    const breakpointUp = props[`${breakpoint}Up`];
    const breakpointDown = props[`${breakpoint}Down`];
    if (breakpointUp) {
      classNames.push(classes[`${breakpoint}Up`]);
    if (breakpointDown) {