-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
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
add isPolyfilled
properties to be able to interfaces (fixes #41)
#42
Conversation
Is legit to drop the .js prefix? |
yep, with both ES6 and CommonJS modules |
OK, good to know. However, I'd opt for consistency throughout the codebase. Let's stick to .js$ for now. Can change style in one fell swoop later. |
yeah, that's smart. just fixed. |
@@ -31,6 +31,7 @@ var Eye = { | |||
* VRDisplay based on mobile device parameters and DeviceMotion APIs. | |||
*/ | |||
function CardboardVRDisplay() { | |||
this.isPolyfilled = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realised I can remove these since these displays inherit from VRDisplay
, which also sets the prop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, you'll update this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping!
updated! |
…from native ones (fixes #41)
add `isPolyfilled` properties to be able to interfaces (fixes #41)
Thanks |
No description provided.