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