Commit graph

8 commits

Author SHA1 Message Date
Jérémie Astori 84db8d8866
Wrap entire error loading script in anonymous function to avoid leaks 2017-12-21 18:23:52 -05:00
Jérémie Astori 0ffd4d60d9
Improve error page at loading
- Display the "Reload page" instantly and not after 5 seconds
- Remove stack trace, buggy anyway
- Wrap the error details so it does not expand beyond boundaries (scrollbar would not show up either)
- Do not show the slow-loading warning on error
- Make zeeoe details selectable instead of editable
- Label improvements
2017-12-21 18:22:53 -05:00
Pavel Djundik 2afd4d7ec4 Hide error under details 2017-12-05 15:17:31 +02:00
Pavel Djundik e3823803aa Handle javascript errors while loading 2017-12-03 17:16:56 +02:00
Niko Bews cba87582a5 Add "reload page" button when Lounge fails to start. 2017-06-10 20:15:32 +03:00
Pavel Djundik fb87bd3a58 Webpack 2016-12-27 19:15:30 +02:00
Jérémie Astori caa46042bf Enforce strict mode across all JS files with ESLint
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
Pavel Djundik 85a536726f Display a loading message instead of blank page 2016-06-19 20:38:38 +03:00