Remove dependency on window.event in ListView
Fixes Microsoft/monaco-editor#371. The `event` property of Window is [nonstandard] and isn't supported by Firefox, breaking some of ListView's event-handling behavior. I checked for places where VSCode depends on `window.event` by removing it from `lib.d.ts` and building from scratch; the references in ListView were the only ones I found in `src/vs/base/browser`. There are also some references in non-browser parts of the codebase, but I assume that's fine since they work in Electron. [nonstandard]: https://developer.mozilla.org/en-US/docs/Web/API/Window/event
Showing
想要评论请 注册 或 登录