Sha256: fbf7196019cc9726f7174f628e2d97d4910fe7ef540e08e4894e240f0068d560

Contents?: true

Size: 904 Bytes

Versions: 156

Compression:

Stored size: 904 Bytes

Contents

"use strict";

exports.__esModule = true;

var _defineProperty = require("../core-js/object/define-property");

var _defineProperty2 = _interopRequireDefault(_defineProperty);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = function () {
  function defineProperties(target, props) {
    for (var i = 0; i < props.length; i++) {
      var descriptor = props[i];
      descriptor.enumerable = descriptor.enumerable || false;
      descriptor.configurable = true;
      if ("value" in descriptor) descriptor.writable = true;
      (0, _defineProperty2.default)(target, descriptor.key, descriptor);
    }
  }

  return function (Constructor, protoProps, staticProps) {
    if (protoProps) defineProperties(Constructor.prototype, protoProps);
    if (staticProps) defineProperties(Constructor, staticProps);
    return Constructor;
  };
}();

Version data entries

156 entries across 35 versions & 10 rubygems

Version Path
lux_assets-0.2.9 ./node_modules/babel-runtime/helpers/createClass.js
lux_assets-0.2.4 ./node_modules/babel-runtime/helpers/createClass.js
lux_assets-0.2.2 ./node_modules/babel-runtime/helpers/createClass.js
lux_assets-0.2.1 ./node_modules/babel-runtime/helpers/createClass.js
locomotivecms-3.4.0 app/javascript/node_modules/babel-runtime/helpers/createClass.js
cortex-0.1.3 spec/dummy/node_modules/babel-runtime/helpers/createClass.js
dragonfly_puppeteer-0.1.0 node_modules/babel-runtime/helpers/createClass.js
affiliator-0.2.1 node_modules/babel-runtime/helpers/createClass.js
lanes-0.8.0 node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-parameters/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-object-super/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-shorthand-properties/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-literals/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-modules-commonjs/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-spread/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-duplicate-keys/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-for-of/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-computed-properties/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-destructuring/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-function-name/node_modules/babel-runtime/helpers/createClass.js