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
The original report was pretty much clear, I just decided to consistently rework the code to get some improvements for all the targets (API, performace, testability) rather than just fix this specific issue for IE7/8.
In the version I'm (slowly) working on, this call and the usage of splat args will not be present anymore.
If you need this change in the short term let me know.
It is a known bug in older versions of IE that it requires 2nd argument for
Array.splice()
, see e.g. this http://stackoverflow.com/a/8333160/1047880This bug effectively prevents pubsub from retrieving published message (https://github.com/federico-lox/pubsub.js/blob/master/src/pubsub.js#L56) in IE7/8.
Array.prototype.splice.call(args, 1)
always returns empty object, resulting in always publishing empty message.This contradicts with compatibility list declared at https://github.com/federico-lox/pubsub.js#supported-platforms.
The text was updated successfully, but these errors were encountered: