()
| 194 | |
| 195 | Object.defineProperty(proto, 'on' + eventNameToWrap, { |
| 196 | get() { |
| 197 | return this['_on' + eventNameToWrap]; |
| 198 | }, |
| 199 | set(cb) { |
| 200 | if (this['_on' + eventNameToWrap]) { |
| 201 | this.removeEventListener(eventNameToWrap, |
nothing calls this directly
no test coverage detected