Giter Club home page Giter Club logo

Comments (6)

adius avatar adius commented on July 23, 2024

+1

from es6-collections.

Steditor avatar Steditor commented on July 23, 2024

https://github.com/Steditor/es6-collections-iterators can be used to patch the key, values and entries functions.
We still have to discuss, whether forcing the whole es6-collections polyfill or patching solely the broken methods is better - I'd like to stick to the native implementation where possible, but that might maybe introduce more problems in some cases.

from es6-collections.

WebReflection avatar WebReflection commented on July 23, 2024

actually a good point, using native is always usually better/faster/etc.etc ... but in case of WeakMap there's no way this poly would bring any benefit compared to the native one.

How would you like a partial fix for Safari that won't fix WeakMap anyway? It seems like maybe Safari needs indeed a fix for its own broken thing only, I will think about a solution here too.

from es6-collections.

WebReflection avatar WebReflection commented on July 23, 2024

scratch that, WM doesn't need iterators ^_^

from es6-collections.

adius avatar adius commented on July 23, 2024

@WebReflection The latest version of https://github.com/Steditor/es6-collections-iterators also fixes Safari!

from es6-collections.

WebReflection avatar WebReflection commented on July 23, 2024

current 0.5.2 version of this one fixes Safari too

from es6-collections.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.