Skip to content

Instantly share code, notes, and snippets.

@matyasfodor
Created December 27, 2017 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matyasfodor/91d8e5a4a02cf5c2cb66c8959ca9f896 to your computer and use it in GitHub Desktop.
Save matyasfodor/91d8e5a4a02cf5c2cb66c8959ca9f896 to your computer and use it in GitHub Desktop.
function detectWebkitRequestFileSystem(e, t) {
return new Promise(function(e) {
if (!window.webkitRequestFileSystem)
return e(null);
window.webkitRequestFileSystem(window.TEMPORARY, 1, e.bind(null, !1), e.bind(null, !0))
}
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment