aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authortmybr11 <tomas.perone@gmail.com>2018-04-17 18:29:11 -0300
committerDave Methvin <dave.methvin@gmail.com>2018-04-17 17:29:11 -0400
commit899c56f6ada26821e8af12d9f35fa039100e838e (patch)
treeb0f44396c13ae2e658e2776f5fa67bacc1f6e889 /src/event.js
parent73d7e6259c63ac45f42c6593da8c2796c6ce9281 (diff)
downloadjquery-899c56f6ada26821e8af12d9f35fa039100e838e.tar.gz
jquery-899c56f6ada26821e8af12d9f35fa039100e838e.zip
Event: Add "code" property to Event object
Fixes gh-3978 Closes gh-3998
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event.js b/src/event.js
index 6cbe774ba..0bf481b16 100644
--- a/src/event.js
+++ b/src/event.js
@@ -616,6 +616,7 @@ jQuery.each( {
shiftKey: true,
view: true,
"char": true,
+ code: true,
charCode: true,
key: true,
keyCode: true,