(type, listener)
| 1010 | listeners[type] = listener; |
| 1011 | }; |
| 1012 | const _remove = (type, listener) => { |
| 1013 | if (listeners[type]) { |
| 1014 | platform.removeEventListener(this, type, listener); |
| 1015 | delete listeners[type]; |
| 1016 | } |
| 1017 | }; |
| 1018 | |
| 1019 | const listener = (width, height) => { |
| 1020 | if (this.canvas) { |
nothing calls this directly
no test coverage detected