Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Rewrote components to cli in the guide #18

Merged
merged 22 commits into from
Mar 18, 2015
Merged

Rewrote components to cli in the guide #18

merged 22 commits into from
Mar 18, 2015

Conversation

nicolechung
Copy link
Contributor

With new JSbins.

// app/components/navigation-bar.js
import Ember from 'ember';

var NavigationBarComponent = Ember.Component.extend({
Copy link
Member

Choose a reason for hiding this comment

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

export default Ember.Component.extend(

@nicolechung
Copy link
Contributor Author

I see. Shall I revise all the pages and resend? Can I just cancel this PR for now?

@stefanpenner
Copy link
Member

@nicolechung updating this PR would be best, as it will remove the comments are the lines it reference change.

@nicolechung
Copy link
Contributor Author

Okay...how do I do that? Can I just make my changes and push them out on the same branch?

@stefanpenner
Copy link
Member

@nicolechung yup, exactly.

@joostdevries joostdevries mentioned this pull request Feb 25, 2015
19 tasks
@nicolechung
Copy link
Contributor Author

Okay, changed my editor to two space tabs instead of four and removed unnecessary var usage. Hope I caught everything. I also updated the JSbins to remove vars.

@nicolechung
Copy link
Contributor Author

@trek with changes from #35

@nicolechung
Copy link
Contributor Author

@trek JSbins commented out...


The example above uses `<script>` tags to work inside of JSBin.-->

Ember-cli works by file structure, so there are no `<script>` tags:
Copy link
Member

Choose a reason for hiding this comment

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

Seems odd to call this out here, I think this sentence should be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh yeah...that was to explain the JSbins (which have been removed). Will do.

```

If you're using build tools, create a Handlebars file at
`templates/components/blog-post.handlebars`.
`app/components/blog-post.hbs`.
Copy link
Member

Choose a reason for hiding this comment

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

app/templates/components/blog-post.hbs


If you're using build tools, create a Handlebars file at
`templates/components/blog-post.handlebars`.
```app/components/blog-post.hbs
Copy link
Member

Choose a reason for hiding this comment

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

app/templates/components/blog-post.hbs

@rwjblue
Copy link
Member

rwjblue commented Mar 17, 2015

Thanks for your hard work on this! I just finished going through the whole diff, and I think I've flagged all the nit-picks I can. Once these are fixed, I'll review once more and this should be good to merge.

rwjblue added a commit that referenced this pull request Mar 18, 2015
@rwjblue rwjblue merged commit 5ba9b55 into emberjs:master Mar 18, 2015
@rwjblue
Copy link
Member

rwjblue commented Mar 18, 2015

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

3 participants