1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-19 02:25:48 +01:00

First attempt in making vimperator object orietened.

For now only the CommandLine widget was made a real encapsulated object.
This commit is contained in:
Martin Stubenschrott
2007-05-11 12:42:17 +00:00
parent 0d7ff394b9
commit 7ac9a05803
10 changed files with 426 additions and 720 deletions

View File

@@ -30,7 +30,7 @@ function help(section, easter)
{
if (easter)
{
echoerr("E478: Don't panic!");
vimperator.echoerr("E478: Don't panic!");
return;
}
if ((arguments[3] && arguments[3].inTab))// || !window.content.document.open)
@@ -238,7 +238,7 @@ function help(section, easter)
var element = doc.getElementById(section);
if (!element)
{
echoerr("E149: Sorry, no help for " + section);
vimperator.echoerr("E149: Sorry, no help for " + section);
return;
}
var pos = cumulativeOffset(element.parentNode);