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

ember fix #281

Closed
wants to merge 2 commits into from
Closed

ember fix #281

wants to merge 2 commits into from

Conversation

tyleriguchi
Copy link

Ember breaks the grid system by inserting script tags around elements since nth-child is being used. I replaced nth-child with of-type. Foundation had the same bug

@monkeez
Copy link

monkeez commented Aug 11, 2014

Wouldn't this screw up though if you had different types of items in a grid?

On 11 August 2014 11:08, Tyler notifications@github.com wrote:

Ember breaks the grid system by inserting script tags around elements
since nth-child is being used. I replaced nth-child with of-type.
Foundation had the same bug

emberjs/ember.js#1893

You can merge this Pull Request by running

git pull https://github.com/tyleriguchi/jeet master

Or view, comment on, or merge it at:

#281
Commit Summary

  • ember fix

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#281.

@corysimmons
Copy link
Contributor

Wouldn't this screw up though if you had different types of items in a grid?

This.

Why does ember surround things with script tags?

@corysimmons
Copy link
Contributor

@tyleriguchi Maybe fork and keep an nth-of-type repo specifically for Ember?

@tyleriguchi
Copy link
Author

Oh yeah you are totally right, it does fail with different tags. It'd be great to use jeet with ember though

@tyleriguchi
Copy link
Author

@corysimmons Yeah I'll set up the repo.

@tyleriguchi
Copy link
Author

repo is located here

@sethbrasile
Copy link

@corysimmons

Why does ember surround things with script tags?

It's how Ember handles two way data binding.

@corysimmons
Copy link
Contributor

Interesting. Meteor does this via Node but Ember does this all client-side somehow?

@sethbrasile
Copy link

Yup!

If I understand correctly, they're working on doing away with this in a project called HTMLBars

@corysimmons
Copy link
Contributor

Yeah, seems like anything that could be done with script tags could be done without it. Cool, excited about HTMLBars. :D

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

4 participants