[pypy-svn] r38636 - pypy/dist/pypy/translator/js/modules

fijal at codespeak.net fijal at codespeak.net
Mon Feb 12 20:45:55 CET 2007


Author: fijal
Date: Mon Feb 12 20:45:52 2007
New Revision: 38636

Modified:
   pypy/dist/pypy/translator/js/modules/dom.py
Log:
Ooops, wrong level


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	Mon Feb 12 20:45:52 2007
@@ -274,10 +274,10 @@
         'search' : str,
     }
     _methods = {
-        'assign' : _callable([str]),
-        'reload' : _callable([bool]),
-        'replace' : _callable([str]),
-        'toString' : _callable([], str),
+        'assign' : MethodDesc([str]),
+        'reload' : MethodDesc([bool]),
+        'replace' : MethodDesc([str]),
+        'toString' : MethodDesc([], str),
     }
 
 class Window(EventTarget):



More information about the Pypy-commit mailing list