(base)
| 218 | } |
| 219 | |
| 220 | function serviceFactory(base) { |
| 221 | const Service = function constructor() { |
| 222 | this.initialize(); |
| 223 | }; |
| 224 | Service.prototype = base; |
| 225 | Service.extend = extendService; |
| 226 | return Service; |
| 227 | } |
| 228 | function extendService(options) { |
| 229 | return serviceFactory(Object.assign(Object.create(this.prototype), options)); |
| 230 | } |
no outgoing calls
no test coverage detected