knockout.selection icon indicating copy to clipboard operation
knockout.selection copied to clipboard

IE8 and jQuery

Open mwoc opened this issue 12 years ago • 2 comments

For this to work in IE8, it's required that something like jQuery standardizes the event objects, as for example the "which" property does not exist in IE8. If jQuery is included before calling ko.applyBindings, it works fine. Maybe this should be mentioned in the readme.

mwoc avatar Jun 06 '13 07:06 mwoc

I prefer not to introduce a dependency on jQuery. Wouldn't modifying the event matcher to test for window.event ? event.which : event.keyCode be enough? I hate to fix this problem over and over again as well, but jQuery is a big dependency.

bramstein avatar Jun 13 '13 00:06 bramstein

Agreed, I'll do some tests in that direction

mwoc avatar Jun 20 '13 09:06 mwoc