Fix merge
This commit is contained in:
parent
8c4b8f281c
commit
24a695e9a3
1 changed files with 0 additions and 10 deletions
|
@ -30,16 +30,6 @@ import {parseQsFromFragment} from "./url_utils";
|
|||
import './modernizr';
|
||||
import {settled} from "./promise_utils";
|
||||
|
||||
async function settled(...promises: Array<Promise<any>>) {
|
||||
for (const prom of promises) {
|
||||
try {
|
||||
await prom;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function checkBrowserFeatures() {
|
||||
if (!window.Modernizr) {
|
||||
console.error("Cannot check features - Modernizr global is missing.");
|
||||
|
|
Loading…
Add table
Reference in a new issue