(instance, Constructor)
| 240 | } |
| 241 | |
| 242 | var classCallCheck = function (instance, Constructor) { |
| 243 | if (!(instance instanceof Constructor)) { |
| 244 | throw new TypeError("Cannot call a class as a function"); |
| 245 | } |
| 246 | }; |
| 247 | |
| 248 | var createClass = function () { |
| 249 | function defineProperties(target, props) { |