bespokejs / bespoke

DIY Presentation Micro-Framework

Home Page:http://markdalgleish.com/projects/bespoke.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should have a way to select children (by class)

knownasilya opened this issue · comments

The reason I mention this, is because at the moment it's assumed that all the children of the node are slides, but that might not be the case. For example, ember inserts script tags around bound values, and this interferes with bespoke.

Adding the class name as an option would be nice.

Interesting. Do you have a demo of this that I can look at? In what scenario would Ember be interfering with slide elements?

I'll whip-up a jsbin as an example.

Here's a basic example, and I think I've done everything correct :)

Rather than implementing the solution you described, v0.4.0 now ignores script tags when selecting slide elements.

Let me know if this fixes the problem for you, otherwise feel free to re-open the issue :)