initial state refactor

This commit is contained in:
Danny Coates
2018-12-13 11:12:06 -08:00
parent 8cde99d2a2
commit 793dfb4f42
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();