googlearchive / TemplateBinding

TemplateBinding Prolyfill
290 stars 61 forks source link

Polyfilled and native templates behave differently #155

Closed sorvell closed 10 years ago

sorvell commented 10 years ago

For example, cloning a template doesn't work when using the polyfill. Here's an example:

http://jsbin.com/legi/1/edit

Ideally, we can polyfill this such that the common api's just work. It may make sense to create a more basic template polyfill independent of this one.

arv commented 10 years ago

I landed a fix for cloneNode yesterday.

https://github.com/Polymer/ShadowDOM/pull/371

It should solve this issue.