Thanks Scott, that is indeed helpful. For those who experience trouble with using the different polyfills together, this is helpful: http://stackoverflow.com/questions/20846950/how-to-use-polymer-polyfills-together
2014/1/25 Scott Miles <[email protected]> > Do you mean something like this? > > http://jsbin.com/iLopoQA/3/edit > > > On Sat, Jan 25, 2014 at 12:28 AM, <[email protected]> wrote: > >> That was interesting and insightful, however I'm running intro troubles >> using the two polyfills together. >> >> I'd like to stick closely to the standard implementations and use >> >> var proto=Object.create(HTMLElement.prototype) >> then register my custom element with that prototype and in the >> createdCallback create a shadow root. >> >> This, unluckily, gives me >> >> "TypeError: Cannot read property 'ownerDocument' of undefined >> >> because hostWrapper.impl is undefined. :( >> >> >> Am Montag, 1. April 2013 22:06:20 UTC+2 schrieb Eric Bidelman: >> >>> For anyone interested, we posted a document on integrating the Custom >>> Element polyfill and the Shadow DOM polyfill. Thanks Scott. >>> >>> It's up on the wiki for CustomElements: >>> https://github.com/toolkitchen/CustomElements/wiki/Integrating-Custom- >>> Element-and-Shadow-DOM-Polyfills >>> >>> Hopefully we'll have a few more of these "design decision" documents int >>> the future. >>> >>> Eric >>> >>> >>> Follow Polymer on Google+: plus.google.com/107187849809354688692 >> --- >> You received this message because you are subscribed to the Google Groups >> "Polymer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/polymer-dev/96dc1fbd-a433-4ef9-a6f2-a3eaa56a9f6a%40googlegroups.com >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CADp4SypLRpbrN7ahLnWjMTE9Qb5cYjtRXOgmv2dm4SF9Kp9SUQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
