]> source.dussan.org Git - jquery.git/commitdiff
Event: Add "code" property to Event object
authortmybr11 <tomas.perone@gmail.com>
Tue, 17 Apr 2018 21:29:11 +0000 (18:29 -0300)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 17 Apr 2018 21:29:11 +0000 (17:29 -0400)
Fixes gh-3978
Closes gh-3998

src/event.js

index 6cbe774baf2a808bad7cee4605332d4da3166328..0bf481b163ff962a1af4e0c36ff4b2c724820aa7 100644 (file)
@@ -616,6 +616,7 @@ jQuery.each( {
        shiftKey: true,
        view: true,
        "char": true,
+       code: true,
        charCode: true,
        key: true,
        keyCode: true,