We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebVRConfig
src/main
Instead of having to manually look at the README to see the default configuration options of WebVRConfig, it'd be nice if the defaults were defined there and overridden by anything set by the user on window.WebVRConfig.
README
window.WebVRConfig
The text was updated successfully, but these errors were encountered:
It's worth noting that this will/could change if src/main starts exporting as a module (see issue #47).
Based on what many projects do, I'd recommend this:
module.exports = function (opts) { return new WebVRPolyfill(opts); };
Sorry, something went wrong.
f209025
Merge pull request #51 from cvan/extend-default-webvr-config
a9e4670
set default `WebVRConfig` options in `src/main` and extend them based on user-defined `window.WebVRConfig` (fixes #49)
No branches or pull requests
Instead of having to manually look at the
README
to see the default configuration options ofWebVRConfig
, it'd be nice if the defaults were defined there and overridden by anything set by the user onwindow.WebVRConfig
.The text was updated successfully, but these errors were encountered: