Sha256: 095ba44bc0fb5b49e4b96ed81f2ac3765d245eba2f51120bb86fcaeca7a74ecf

Contents?: true

Size: 208 Bytes

Versions: 198

Compression:

Stored size: 208 Bytes

Contents

"use strict";

exports.__esModule = true;

exports.default = function (instance, Constructor) {
  if (!(instance instanceof Constructor)) {
    throw new TypeError("Cannot call a class as a function");
  }
};

Version data entries

198 entries across 44 versions & 10 rubygems

Version Path
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-syntax-async-functions/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-syntax-function-bind/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-template/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es3-member-expression-literals/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-template-literals/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es3-property-literals/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-traverse/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-object-super/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-modules-commonjs/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-parameters/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-literals/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-sticky-regex/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-typeof-symbol/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-unicode-regex/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-function-bind/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-regenerator/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-polyfill/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-register/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-modules-amd/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-shorthand-properties/node_modules/babel-runtime/helpers/classCallCheck.js