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
Hi-
In my recent project I noticed that, while the code executed in IE8, the resulting string from JsDiff.applyPatch was scrambled. I was able to work around the issue by using Steven Levithan's polyfill for split ( http://blog.stevenlevithan.com/archives/cross-browser-split ). The way the variable 'meh' in applyPatch is being used isn't supported in IE8. I wouldn't use the polyfill in all situations as it seems to be slower in some cases.
The text was updated successfully, but these errors were encountered:
Hi-
In my recent project I noticed that, while the code executed in IE8, the resulting string from JsDiff.applyPatch was scrambled. I was able to work around the issue by using Steven Levithan's polyfill for split ( http://blog.stevenlevithan.com/archives/cross-browser-split ). The way the variable 'meh' in applyPatch is being used isn't supported in IE8. I wouldn't use the polyfill in all situations as it seems to be slower in some cases.
The text was updated successfully, but these errors were encountered: