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