summaryrefslogtreecommitdiff
path: root/javascript/jsapi
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-11-25 19:27:58 +0000
committerVincent Sanders <vince@kyllikki.org>2012-11-25 19:27:58 +0000
commit7915708b583699f16412d5eeab6a42602319e720 (patch)
tree65f63fdda7eeaab97296a129edfedf2bf4957761 /javascript/jsapi
parentec43456e4bf0968bc68b437733199ad2af609c1e (diff)
downloadnetsurf-7915708b583699f16412d5eeab6a42602319e720.tar.gz
netsurf-7915708b583699f16412d5eeab6a42602319e720.tar.bz2
update event handler to cope with nsgenbind changes
Diffstat (limited to 'javascript/jsapi')
-rw-r--r--javascript/jsapi/window.bnd4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/jsapi/window.bnd b/javascript/jsapi/window.bnd
index e439980b9..3fe2afddf 100644
--- a/javascript/jsapi/window.bnd
+++ b/javascript/jsapi/window.bnd
@@ -201,9 +201,9 @@ getter self %{
%}
getter EventHandler %{
- JSLOG("propname:%s %s", propname, JS_GetTypeName(cx, JS_TypeOfValue(cx, propname_jsval)));
+ JSLOG("propname[%d] %s %s", tinyid , jsclass_properties[tinyid].name, JS_GetTypeName(cx, JS_TypeOfValue(cx, tinyid_jsval)));
%}
setter EventHandler %{
- JSLOG("propname:%s %s", propname, JS_GetTypeName(cx, JS_TypeOfValue(cx, propname_jsval)));
+ JSLOG("propname[%d] %s %s", tinyid, jsclass_properties[tinyid].name, JS_GetTypeName(cx, JS_TypeOfValue(cx, tinyid_jsval)));
%}