1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 04:45:46 +01:00

Complete :sanitize and private mode overhaul.

--HG--
rename : common/content/sanitizer.js => common/modules/sanitizer.jsm
This commit is contained in:
Kris Maglione
2010-09-17 06:15:13 -04:00
parent a5213c3760
commit 152e6d5a1f
27 changed files with 1120 additions and 721 deletions

View File

@@ -178,7 +178,7 @@ const Mappings = Module("mappings", {
modes = modes.slice();
return (map for ([i, map] in Iterator(stack[modes.shift()].sort(function (m1, m2) String.localeCompare(m1.name, m2.name))))
if (modes.every(function (mode) stack[mode].some(
function (mapping) m.rhs == map.rhs && m.name == map.name))))
function (m) m.rhs == map.rhs && m.name == map.name))))
},
// NOTE: just normal mode for now