1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 02:32:27 +01:00

Fix charset completion.

This commit is contained in:
Doug Kearns
2016-01-12 23:04:26 +11:00
parent 6b25390115
commit 94b4be6b6f

View File

@@ -235,7 +235,7 @@ var IO = Module("io", {
charsets: Class.Memoize(function () {
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));
}),