tmpvar / weld

Template antimatter for Node.js (Browsers too!)
673 stars 39 forks source link

Trouble using weld the way I want with arrays #15

Closed thecookie closed 13 years ago

thecookie commented 13 years ago

I pretty much wrote everything in a gist:

https://gist.github.com/3317ed8d09600d98fda7

tmpvar commented 13 years ago

hrm, this is a deficiency with weld. Weld currently expects the a single element to duplicate (which seems like the usual case). I think we can support this at ~0.2.5

heapwolf commented 13 years ago

i think also the purpose of the first parameter could be clarified in the docs.

heapwolf commented 13 years ago

this is more of a design conflict with jquery-ui. jquery-ui breaks if it does not have an exact html structure (a poor design IMO) I've been experimenting with this a little bit. may have a solution.

heapwolf commented 13 years ago

determined that this is a limitation of jQuery-UI. jQuery UI expects an exact structure of html.