From 155d6057be2ee9f42eb5b66d6208c02be281a867 Mon Sep 17 00:00:00 2001 From: Jeremy Maitin-Shepard Date: Thu, 10 Apr 2008 20:38:26 -0400 Subject: [PATCH] Fix various warnings --- modules/element.js | 2 +- modules/help.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/element.js b/modules/element.js index fe60c49..cb035f5 100644 --- a/modules/element.js +++ b/modules/element.js @@ -8,7 +8,7 @@ var browser_object_classes = {}; */ define_keywords("$doc", "$action", "$label", "$handler", "$xpath_expression"); function define_browser_object_class(name) { - keywords(arguments); + keywords(arguments, $xpath_expression = undefined); var handler = arguments.$handler; let xpath_expression = arguments.$xpath_expression; if (handler === undefined && xpath_expression != undefined) { diff --git a/modules/help.js b/modules/help.js index 143d26f..8b44d6d 100644 --- a/modules/help.js +++ b/modules/help.js @@ -240,7 +240,7 @@ function describe_bindings(buffer, target) { fallthrough: last.fallthrough, command: last.command, bound_in: bound_in.name, - category: last.category, + category: last.category }; list.push(bind); }); -- 2.11.4.GIT