(scope)
| 52 | } |
| 53 | |
| 54 | createScopedResolver(scope) { |
| 55 | return (...params) => { |
| 56 | if (params.length === 1) { |
| 57 | return this.getScopedVariable(scope, params[0]); |
| 58 | } |
| 59 | if (params.length === 2) { |
| 60 | return this.getScopedVariable(params[0], params[1]); |
| 61 | } |
| 62 | |
| 63 | return undefined; |
| 64 | }; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | // Expose both, the resolver service, and the default resolver working with |
nothing calls this directly
no test coverage detected