(Constructor, protoProps, staticProps)
| 22 | } |
| 23 | |
| 24 | function _createClass(Constructor, protoProps, staticProps) { |
| 25 | if (protoProps) _defineProperties(Constructor.prototype, protoProps); |
| 26 | if (staticProps) _defineProperties(Constructor, staticProps); |
| 27 | return Constructor; |
| 28 | } |
| 29 | |
| 30 | function _defineProperty(obj, key, value) { |
| 31 | if (key in obj) { |
no test coverage detected