You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please help me with it If you can easily test the result. I recently migrated to a new laptop, and lost all the virtual machines I've had.
Probably the following code would work, and would work better than the existing one:
constreorderNodes=(srcNodes,dstNodes)=>{constdest=newSet();dstNodes.forEach(node=>dest.add(node));// no Map(dstNodes) for IE11 :(returnsrcNodes.filter(node=>dest.has(node);};
I see PR #4 removed usages of Array.find to make this library safe for older browsers without using a polyfill. Looks like a new usage made it's way back in here: https://github.com/theKashey/focus-lock/blob/master/src/focusMerge.js#L102
Is no polyfills for older browsers still a goal of this library? If so, I'm happy to put a PR together to resolve this issue. Thanks!
The text was updated successfully, but these errors were encountered: