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

buffer.txt added

This commit is contained in:
Martin Stubenschrott
2008-02-06 23:00:50 +00:00
parent 1985fc2853
commit b3eb0000ab
6 changed files with 32 additions and 17 deletions

View File

@@ -290,7 +290,7 @@ vimperator.Completion = function () //{{{
{
var res = [];
// they are sorted by relevance, not alphabetically
var files = ["intro.html", "starting.html", "browsing.html", "motion.html",
var files = ["intro.html", "starting.html", "browsing.html", "buffer.html",
"options.html", "tabs.html", "marks.html", "repeat.html",
"autocommands.html", "developer.html", "various.html"];
@@ -299,12 +299,12 @@ vimperator.Completion = function () //{{{
try
{
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "chrome://vimperator/locale/" + files[file], false);
xmlhttp.open("GET", "chrome://" + vimperator.config.name.toLowerCase() + "/locale/" + files[file], false);
xmlhttp.send(null);
}
catch (e)
{
vimperator.log("Error opening chrome://vimperator/locale/" + files[file], 1);
vimperator.log("Error opening chrome://" + vimperator.config.name.toLowerCase() + "/locale/" + files[file], 1);
continue;
}
var doc = xmlhttp.responseXML;