initial state refactor

This commit is contained in:
Danny Coates 2018-12-13 11:12:06 -08:00
parent 8cde99d2a2
commit 793dfb4f42
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
2 changed files with 14 additions and 12 deletions

View file

@ -74,7 +74,7 @@ async function polyfillStreams() {
}
}
export default async function capabilities() {
export default async function getCapabilities() {
const serviceWorker = 'serviceWorker' in navigator;
let crypto = await checkCrypto();
const nativeStreams = checkStreams();