Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polymer & Bootstrap #14813

Closed
smasala opened this issue Oct 16, 2014 · 3 comments
Closed

Polymer & Bootstrap #14813

smasala opened this issue Oct 16, 2014 · 3 comments
Labels

Comments

@smasala
Copy link

smasala commented Oct 16, 2014

Bootstrap is unable to run alongside Polymer as the Platform.js modifies the document object

Possible fix:

(function(jQuery, window, factory){
    if(window.Platform && window.wrap){
        //when using combined with Polymer
        return factory(jQuery, wrap(window), wrap(window.document));
    }else{
        return factory(jQuery, window, window.document);
    }
})(jQuery, window, function(jQuery, window, document){

    //Bootstrap code

});

Polymer/polymer#625

@hnrch02 hnrch02 added the js label Oct 16, 2014
@hnrch02
Copy link
Collaborator

hnrch02 commented Oct 16, 2014

Plans to add Polymer support were rejected previously, I doubt that there has been change of heart. /cc @fat @cvrebert

@cvrebert
Copy link
Collaborator

Semi-duplicate of #14588. Nothing has changed in the intervening 3 months AFAIK.
We don't currently include compatibility hacks for any other frameworks; I see no reason to make an exception here, especially given how experimental/immature Polymer is.

@mdo
Copy link
Member

mdo commented Oct 16, 2014

What @cvrebert said.

@mdo mdo closed this as completed Oct 16, 2014
This was referenced Nov 6, 2014
@twbs twbs locked and limited conversation to collaborators May 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants