GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.38k stars 84 forks source link

add process.browser conditional branch #35

Closed kota-yata closed 3 years ago

kota-yata commented 3 years ago

34

google-cla[bot] commented 3 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

kota-yata commented 3 years ago

@googlebot I signed it!

tomayac commented 3 years ago

Thanks for opening this PR. However, since process.browser throws Uncaught ReferenceError: process is not defined, I fear this won't work in the general non-NuxtJS case. On top, it seems this has been deprecated and replaced with process.client.