Alex cueto Alex cueto - 1 month ago 7x
Javascript Question

Bootstrap Javascript dont Work in Firefox and Safari IOS

I'm working on an app which you can see here:

When I use Firefox or Safari for iPhone, it does not work correctly. I'm using Google Polymer 1.0, Bootstrap 3, Skeleton and of course jQuery.

This is the error I receive in Firefox


Yeah, I've fixed it, but not quite...

I fixed with this code:

        url: '/lib/bootstrap/dist/js/bootstrap.js',
        success: function (data) {
            (new Function('document', 'window', data))
                .call({}, wrap(document), wrap(window));
        dataType: 'text'

in this isue at Github: