()
| 204 | } |
| 205 | |
| 206 | function openProfiler() { |
| 207 | // Mocked up bridge and store to allow the DevTools to be rendered |
| 208 | bridge = new Bridge({listen: () => {}, send: () => {}}); |
| 209 | store = new Store(bridge, {}); |
| 210 | |
| 211 | // Ensure the Profiler tab is shown initially. |
| 212 | localStorageSetItem( |
| 213 | LOCAL_STORAGE_DEFAULT_TAB_KEY, |
| 214 | JSON.stringify('profiler'), |
| 215 | ); |
| 216 | |
| 217 | reload(); |
| 218 | } |
| 219 | |
| 220 | function initialize(socket: WebSocket) { |
| 221 | const listeners = []; |
nothing calls this directly
no test coverage detected