Skip to content

Commit

Permalink
Merge pull request #14312 from guardian/mc-remove-deprecated-key-iden…
Browse files Browse the repository at this point in the history
…tifier

Remove deprecated keyIdentifier
  • Loading branch information
mchv authored Sep 15, 2016
2 parents eeca528 + d941888 commit 27a4023
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion static/src/javascripts/components/bean/bean.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
* Bean - copyright (c) Jacob Thornton 2011-2012
* https://github.com/fat/bean
* MIT license
*
* Changes from upstream:
* - Removed 'keyIdentitfier' until https://github.com/fat/bean/issues/128 is fixed
*
*/
(function (name, context, definition) {
if (typeof module != 'undefined' && module.exports) module.exports = definition()
Expand Down Expand Up @@ -106,7 +110,7 @@
'fromElement offsetX offsetY pageX pageY screenX screenY toElement'))
, mouseWheelProps = mouseProps.concat(str2arr('wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ ' +
'axis')) // 'axis' is FF specific
, keyProps = commonProps.concat(str2arr('char charCode key keyCode keyIdentifier ' +
, keyProps = commonProps.concat(str2arr('char charCode key keyCode ' +
'keyLocation location'))
, textProps = commonProps.concat(str2arr('data'))
, touchProps = commonProps.concat(str2arr('touches targetTouches changedTouches scale rotation'))
Expand Down

0 comments on commit 27a4023

Please sign in to comment.