Skip to content

Conversation

Copy link
Member

Choose a reason for hiding this comment

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

E/C PR was updated to rename this to vr-mixin.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, gotta pull and rebase

@cvan
Copy link
Contributor Author

cvan commented Oct 15, 2015

fyi: I actually added mutation observers to the <vr-template>s such that when you change the template code the placeholders (e.g., <vr-box>) get re-rendered with the new code 😈

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is to support Chrome's native imports. need to revisit a solution. can show you in person.

Copy link
Member

Choose a reason for hiding this comment

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

This is your library so I let you decide but I'm always skeptical about this marginal value utility functions. More code to maintain and document where bugs can hide and it replaces a well known standard API with your own jargon making the code harder to understand for newcomers to the project.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that's a valid point. I had to Array.prototype.slice.call(document.querySelectorAll) 8 times so I thought I should make a function out of it. that gets pretty verbose quickly. thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

Same function in vr-assets, vr-scene and vr-template

@cvan
Copy link
Contributor Author

cvan commented Oct 18, 2015

woo!

cvan added a commit that referenced this pull request Oct 18, 2015
@cvan cvan merged commit 080d295 into aframevr:master Oct 18, 2015
Copy link
Member

Choose a reason for hiding this comment

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

Can we call the attribute element="vr-bigcubes"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure: #58

cvan added a commit that referenced this pull request Nov 30, 2015
cvan added a commit that referenced this pull request Dec 9, 2015
ngokevin pushed a commit to ngokevin/aframe that referenced this pull request Jan 8, 2016
Created skysphere and updated skybox to match best practices
@ngokevin ngokevin mentioned this pull request Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants