Created
December 27, 2017 04:51
-
-
Save matyasfodor/91d8e5a4a02cf5c2cb66c8959ca9f896 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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