Files
scratch-gui/src
Paul Kaplan c492602a9f Do not remove the window beforeunload handler in componentWillUnmount.
This is because when switching from project to editor view, this component gets unmounted and then remounted, but the componentDidMount seems to happen before the componentWillUnmount. Because it is dealing with a global variable, it is unsafe to always unset the beforeunload when unmounting.
2018-12-19 16:37:32 -05:00
..
2018-12-12 15:16:59 -05:00
2018-12-18 15:50:57 -05:00