-
Notifications
You must be signed in to change notification settings - Fork 387
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
Array.find not working in all cases #420
Comments
@belugabob can you explain "arrays with object structures"? I'm not familiar with signalr, but if you try |
Forgive my typo - should read "arrays within object structures" Off the top of my head, as I'm not at my computer, and abbreviated for simplicity... { SignalR is a server to browser communication library which effectively"pushes" data to the browser. I suspect that my issue is related to the way that SignalR deserializes the JSON payload |
It is possible, if SignalR is creating those arrays in a different realm (like an iframe, or a web worker) then they'd have an un-shimmed |
Ok, that sounds possible - will investigate further |
I've the encountered this exact same issue using SignalR 2.2.1. But this seems to be more of an SignalR issue rather than es6-shim correct? |
@cvanleeuwen yes, that seems to be the case. An issue should be filed on SignalR, and this one closed. |
I'm using es6-shim to polyfill Array.find for broswers that don't support it.
The issue that I'm having is that some arrays are not being polyfilled.
Further investigation reveals that arrays which I create in my own code are being polyfilled, but arrays withing object structures being sent to the browser via signalr (2.2.0) are not.
Is this a known issue, or am I being stupid, and misunderstanding something?
Internet Explorer 11.0.9600.18314 - update 11.0.31
es6-shim 0.35.0
The text was updated successfully, but these errors were encountered: