component / reactive

Tiny reactive template engine
382 stars 48 forks source link

IE8 Compatible text binding #80

Closed chrisbuttery closed 11 years ago

chrisbuttery commented 11 years ago

IE8 is stupid and doesn't understand textContent

TooTallNate commented 11 years ago

I don't think this works with some other browsers now... The most cross-browser way to do it would be to access the inner TextNode directly and change its nodeValue property.

tj commented 11 years ago

we could use a text(el, string) component (if we dont already have one)