1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 22:37:58 +01:00

new vimperator.buffer.element function to quickly retrieve a single element with XPath attributes

This commit is contained in:
Martin Stubenschrott
2007-12-20 15:19:09 +00:00
parent 5122e6c448
commit 39094268eb
3 changed files with 10 additions and 1 deletions

View File

@@ -621,6 +621,7 @@ const vimperator = (function () //{{{
vimperator.completion = vimperator.Completion();
vimperator.log("All modules loaded", 3);
// we define some shortcuts to functions which are used often
vimperator.echo = function (str, flags) { vimperator.commandline.echo(str, vimperator.commandline.HL_NORMAL, flags); };
vimperator.echoerr = function (str, flags) { vimperator.commandline.echo(str, vimperator.commandline.HL_ERRORMSG, flags); };