()
| 153 | |
| 154 | return { |
| 155 | get() { |
| 156 | let bindings = BINDINGS_MAP.get(this); |
| 157 | |
| 158 | if (bindings === undefined) { |
| 159 | bindings = new Map(); |
| 160 | BINDINGS_MAP.set(this, bindings); |
| 161 | } |
| 162 | |
| 163 | let fn = bindings.get(actionFn); |
| 164 | |
| 165 | if (fn === undefined) { |
| 166 | fn = actionFn.bind(this); |
| 167 | bindings.set(actionFn, fn); |
| 168 | } |
| 169 | |
| 170 | return fn; |
| 171 | }, |
| 172 | }; |
| 173 | } |
| 174 |
no test coverage detected