Skip to content
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

Merged
merged 1 commit into from
Mar 16, 2016
Merged

add isPolyfilled properties to be able to interfaces (fixes #41) #42

merged 1 commit into from
Mar 16, 2016

Conversation

cvan
Copy link
Contributor

@cvan cvan commented Mar 11, 2016

No description provided.

@cvan
Copy link
Contributor Author

cvan commented Mar 11, 2016

Per mrdoob/three.js#8330

@borismus
Copy link
Contributor

Is legit to drop the .js prefix?

@cvan
Copy link
Contributor Author

cvan commented Mar 11, 2016

Is legit to drop the .js prefix?

yep, with both ES6 and CommonJS modules

@borismus
Copy link
Contributor

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.

@cvan
Copy link
Contributor Author

cvan commented Mar 11, 2016

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;
Copy link
Contributor Author

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

Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ping!

@cvan
Copy link
Contributor Author

cvan commented Mar 15, 2016

updated!

borismus added a commit that referenced this pull request Mar 16, 2016
add `isPolyfilled` properties to be able to interfaces (fixes #41)
@borismus borismus merged commit c17e1a6 into immersive-web:webvr-1.0 Mar 16, 2016
@borismus
Copy link
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants