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
fixed (workarounded) the tedious bug in FF 3.x about charCode in keyup/keydown events #282
Conversation
Is there a ticket for this? http://bugs.jquery.com |
i created it. #8595 |
Commit does not confirm to jQuery Style Guide: http://docs.jquery.com/JQuery_Core_Style_Guidelines |
omg what was I thinking when I did this? :)
as you can see, the inner parenthesis are sometimes spaced sometimes now. I'll resubmit my patch with spacing the way I understood are right from the guidelines, but they constrast with the examples above. |
i'm not very familiar with github. I pushed to the same branch, and the pull requested got automagically updated. Is that good for you? |
I'll be sure to bring that up at the next jquery core devs meeting - in the meantime, you're STILL missing curly braces around the body of your if condition block |
Also, strict equality === http://docs.jquery.com/JQuery_Core_Style_Guidelines#Equality |
As for the auto updating branch, yes - that part is correct |
two lines three coding style bugs? you are hurting my ego. How about now? |
I never intended to hurt anyone's ego... jQuery has to maintain a strict quality of code and that includes making it readable like it was written by one person. If i were you - I'd just paste the changes into a new branch. Aside from that - you provided no reduced test case in your ticket... I can't reproduce this issue, if you provided a test case it would make reviewing your patch significantly easier. In case you weren't aware, we are all volunteering our time - so don't give me a hard time because you didn't thoroughly read the style guide or because you just assumed that we'd pull in any contributed code - tested or not. Which brings me to another point - is this issue testable? Has your patch been tested and passing in all supported browsers? have you bothered to read the bug patching guide? |
Sorry but this event-copy loop is the most time critical part of jQuery.event.fix and we wouldn't want to make it slower just to get rid of a spurious console warning. I don't think we want to add more logic to it. See http://forum.jquery.com/topic/fix-is-slow for more information. A pull request like this would need to come with performance tests on a real event object (not just a Javascript object). |
this shouldn't break any existing code, and fixes a problem in FF 3.x which really bugs me and my firebug while debugging website. a real must for me.