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

Not working in ie 11 #83

Open
AkumaTen opened this issue Apr 23, 2018 · 2 comments
Open

Not working in ie 11 #83

AkumaTen opened this issue Apr 23, 2018 · 2 comments

Comments

@AkumaTen
Copy link

Hi, I found this project very interesting and I start coding a simple example with Internet Explorer 11.
The array.from polyfill does not work if the object is a Set. I found problems with Symbol and Map too. A quick fix is to replace lib\array.from with something like

if (!Array.from) {
Array.from = function () {

    // The length property of the from method is 1.
    return function from(arrayLike /*, mapFn, thisArg */) {
        let retArray = [];
        arrayLike.forEach(function (v) { retArray.push(v) });
        return retArray;
    };
}();

}

and replace symbol.polyfill.js with
import 'core-js/es6/symbol';
import "core-js/fn/symbol/iterator.js";
import 'core-js/es6/map';

I imported symbol.polyfill.js into store.js and keys.js

Any chance to have a newer version of the package with this fix_
Thanks

@rachelleahr
Copy link

Having the same issue, any chance of a new release anytime soon?

@glortho
Copy link
Owner

glortho commented Jun 15, 2018

Sorry for the delay -- I haven't been receiving notifications for issues for some reason. Anyway, yes, we can definitely patch this. Stay tuned (or make a PR for hyper-speed!)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants