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

Source formatting fixes *yawn*.

This commit is contained in:
Doug Kearns
2009-04-30 22:09:08 +10:00
parent c65f88f8a2
commit 6b9564635a
8 changed files with 31 additions and 26 deletions

View File

@@ -1454,15 +1454,16 @@ function Completion() //{{{
});
},
charset: function(context) {
charset: function (context)
{
context.anchored = false;
context.generate = function() {
context.generate = function () {
let names = util.Array(
'more1 more2 more3 more4 more5 unicode'.split(' ').map(function(key)
'more1 more2 more3 more4 more5 unicode'.split(' ').map(function (key)
options.getPref('intl.charsetmenu.browser.' + key).split(', ')))
.flatten().uniq();
let bundle = document.getElementById('liberator-charset-bundle');
return names.map(function(name) [name, bundle.getString(name.toLowerCase() + '.title')]);
return names.map(function (name) [name, bundle.getString(name.toLowerCase() + '.title')]);
};
},