diff options
Diffstat (limited to 'node_modules/react-dom/lib/getEventModifierState.js')
-rw-r--r-- | node_modules/react-dom/lib/getEventModifierState.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node_modules/react-dom/lib/getEventModifierState.js b/node_modules/react-dom/lib/getEventModifierState.js index c8a68fcb9..0af4df74c 100644 --- a/node_modules/react-dom/lib/getEventModifierState.js +++ b/node_modules/react-dom/lib/getEventModifierState.js @@ -16,10 +16,10 @@ */ var modifierKeyToProp = { - 'Alt': 'altKey', - 'Control': 'ctrlKey', - 'Meta': 'metaKey', - 'Shift': 'shiftKey' + Alt: 'altKey', + Control: 'ctrlKey', + Meta: 'metaKey', + Shift: 'shiftKey' }; // IE8 does not implement getModifierState so we simply map it to the only |