mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:42:27 +01:00
More completion stuff. And move vimperator.png to chrome://liberator2/content/ -- long story.
This commit is contained in:
@@ -272,6 +272,21 @@ const util = { //{{{
|
||||
return ret;
|
||||
},
|
||||
|
||||
httpGet: function (url)
|
||||
{
|
||||
try
|
||||
{
|
||||
var xmlhttp = new XMLHttpRequest();
|
||||
xmlhttp.open("GET", url, false);
|
||||
xmlhttp.send(null);
|
||||
return xmlhttp;
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
liberator.log("Error opening " + url, 1);
|
||||
}
|
||||
},
|
||||
|
||||
map: function (obj, fn)
|
||||
{
|
||||
let ary = [];
|
||||
@@ -359,7 +374,7 @@ const util = { //{{{
|
||||
}
|
||||
else
|
||||
{
|
||||
while (start >= end)
|
||||
while (start > end)
|
||||
yield --start;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user