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

fix(object) Ensure keys for all rendered array elements #166

Merged
merged 10 commits into from
Jan 6, 2016

Conversation

dignifiedquire
Copy link
Member

Closes #161

Missing:

  • Move small components into individual files
  • Write tests

Sorry, something went wrong.

@jbenet jbenet added the status/in-progress In progress label Jan 5, 2016
@dignifiedquire dignifiedquire changed the title [WIP] fix(object) Ensure keys for all rendered array elements fix(object) Ensure keys for all rendered array elements Jan 5, 2016
@dignifiedquire dignifiedquire added codereview and removed status/in-progress In progress labels Jan 5, 2016
ObjectLinks.propTypes = {
path: PropTypes.instanceOf(Path).isRequired,
links: PropTypes.arrayOf(PropTypes.shape({
Hash: PropTypes.string.isRequired,
Copy link
Member

Choose a reason for hiding this comment

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

upper H?

Copy link
Member Author

Choose a reason for hiding this comment

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

that's what we get from the js-ipfs-api

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Closes #161

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@@ -1,5 +1,8 @@
{
"presets": ["react", "es2015", "stage-0"],
"plugins": [
'transform-runtime'
Copy link
Member

Choose a reason for hiding this comment

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

Is this a node module? If not, where is it loaded from?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is a node module called babel-plugin-transform-runtime which is loaded by babel on its own, same with the presets.

Copy link
Member

Choose a reason for hiding this comment

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

Cool.

@RichardLitt
Copy link
Member

Overall, looks good to me, from an overview of the code and not from an I-tried-to-run-this perspective. Happy to merge it.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
dignifiedquire added a commit that referenced this pull request Jan 6, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(object) Ensure keys for all rendered array elements
@dignifiedquire dignifiedquire merged commit 8017f5d into master Jan 6, 2016
@dignifiedquire dignifiedquire deleted the fix/161 branch January 6, 2016 21:14
@jbenet jbenet removed the codereview label Jan 6, 2016
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.

None yet

5 participants