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-helper-get-function-arity/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 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-traverse/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-types/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-helper-hoist-variables/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-optimise-call-expression/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-parameters/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-code-frame/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-core/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-generator/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-call-delegate/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-define-map/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-function-name/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-get-function-arity/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-hoist-variables/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-optimise-call-expression/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-regex/node_modules/babel-runtime/helpers/classCallCheck.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-remap-async-to-generator/node_modules/babel-runtime/helpers/classCallCheck.js