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
babel-schmooze-sprockets-0.1.3 node_modules/babel-generator/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-call-delegate/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-define-map/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-function-name/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-get-function-arity/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-hoist-variables/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-optimise-call-expression/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-regex/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-replace-supers/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helpers/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-messages/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-check-es2015-constants/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-spread/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-code-frame/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-core/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-generator/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-call-delegate/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-define-map/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-function-name/node_modules/babel-runtime/helpers/createClass.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-get-function-arity/node_modules/babel-runtime/helpers/createClass.js