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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user