mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-13 23:25:49 +01:00
Fix charset completion.
This commit is contained in:
@@ -235,7 +235,7 @@ var IO = Module("io", {
|
|||||||
|
|
||||||
charsets: Class.Memoize(function () {
|
charsets: Class.Memoize(function () {
|
||||||
const BASE = "@mozilla.org/intl/unicode/decoder;1?charset=";
|
const BASE = "@mozilla.org/intl/unicode/decoder;1?charset=";
|
||||||
return Object.keys(Cc).filter(k.startsWith(BASE))
|
return Object.keys(Cc).filter(k => k.startsWith(BASE))
|
||||||
.map(k => k.slice(BASE.length));
|
.map(k => k.slice(BASE.length));
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user