[pypy-svn] r37210 - pypy/dist/pypy/translator/js/modules
arigo at codespeak.net
arigo at codespeak.net
Tue Jan 23 16:52:15 CET 2007
Author: arigo
Date: Tue Jan 23 16:52:14 2007
New Revision: 37210
Modified:
pypy/dist/pypy/translator/js/modules/dom.py
Log:
More dom entries for KeyEvent.
Modified: pypy/dist/pypy/translator/js/modules/dom.py
==============================================================================
--- pypy/dist/pypy/translator/js/modules/dom.py (original)
+++ pypy/dist/pypy/translator/js/modules/dom.py Tue Jan 23 16:52:14 2007
@@ -694,7 +694,10 @@
KeyEvent._fields = Event._fields.copy()
KeyEvent._fields.update({
'keyCode' : int,
- 'charCode' : int,
+ 'charCode': int,
+ 'altKey' : bool,
+ 'ctrlKey' : bool,
+ 'shiftKey': bool,
})
setTimeout.suggested_primitive = True
More information about the Pypy-commit
mailing list