Fwiw, I only tried that shim with jquery 2.1.

On Mon, Apr 7, 2014 at 9:08 AM, Scott Miles <[email protected]> wrote:

> Try inserting this shim right after JQuery but before Bootstrap.
>
> <script>
>   if (window.ShadowDOMPolyfill) {
>     // blunt hack for ShadowDOM Polyfill inability to wrap `document` and
> `document.body`
>     jQuery.fn._init = jQuery.fn.init;
>     jQuery.fn.init = function(selector, context) {
>       if (selector && selector.nodeType) {
>         selector = ShadowDOMPolyfill.wrapIfNeeded(selector);
>       }
>       return jQuery.fn._init(selector, context);
>     }
>   }
> </script>
>
>
> On Mon, Apr 7, 2014 at 4:59 AM, <[email protected]> wrote:
>
>> Hi, does anyone have a solution?
>>
>>  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/73bf8d3c-5a8b-4b73-81c2-afbc308f0c22%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/73bf8d3c-5a8b-4b73-81c2-afbc308f0c22%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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/CAHbmOLbvFv%2BJ3j1MBnjPkQBZ2r3YbANgonbQA4dZf76m8Py1jg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to