1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 01:45:46 +01:00

move the global evaluateXPath() function to vimperator.buffer

This commit is contained in:
Doug Kearns
2007-08-16 11:14:50 +00:00
parent 1ec6743b5d
commit 7352f0a680
4 changed files with 33 additions and 36 deletions

View File

@@ -152,7 +152,7 @@ vimperator.help = function(section, easter) //{{{
'<p>Since Vimperator\'s GUI is embedded into a toolbar, it may look too 3D-like with the default theme. ' +
'For the best experience, I therefore recommend the <a href="https://addons.mozilla.org/firefox/364/">Whitehart</a> theme or any other flat theme.</p>\n' +
'<p>Vimperator was written by <a href="mailto:stubenschrott@gmx.net">Martin Stubenschrott</a>.' +
'<p>Vimperator was written by <a href="mailto:stubenschrott@gmx.net">Martin Stubenschrott</a>. ' +
'If you appreciate my work on Vimperator and want to encourge me working on it more, you can either send me greetings, patches or make a donation: </p>\n' +
'<form action="https://www.paypal.com/cgi-bin/webscr" method="post">\n<fieldset class="paypal">' +
@@ -245,7 +245,7 @@ vimperator.help = function(section, easter) //{{{
{
function findSectionElement(section)
{
return evaluateXPath('//code[@class="tag" and text()="' + section + '"]')
return vimperator.buffer.evaluateXPath('//code[@class="tag" and text()="' + section + '"]')
.snapshotItem(0);
}