Sha256: e5034220e6800589ee6c90931228fb7ba993a7086ed6971078751d3ce9edb659

Contents?: true

Size: 596 Bytes

Versions: 49

Compression:

Stored size: 596 Bytes

Contents

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;
    Object.defineProperty(target, descriptor.key, descriptor);
  }
}

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

module.exports = _createClass;

Version data entries

49 entries across 49 versions & 8 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/runtime/helpers/createClass.js
disco_app-0.18.0 test/dummy/node_modules/@babel/runtime/helpers/createClass.js
disco_app-0.18.2 test/dummy/node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-5.0.7 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-5.0.6 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-5.0.5 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-5.0.4 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-5.0.3 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-5.0.2 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-5.0.1 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-4.3.5 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-5.0.0 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-4.3.4 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-4.3.3 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-4.3.2 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-4.3.1 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-4.3 node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-4.2.3 node_modules/@babel/runtime/helpers/createClass.js
tang-0.2.1 spec/tang_app/node_modules/@babel/runtime/helpers/createClass.js
trusty-cms-4.2.2 node_modules/@babel/runtime/helpers/createClass.js