1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 13:15:45 +01:00

Remove more unused vars.

This commit is contained in:
Doug Kearns
2015-04-25 23:57:57 +10:00
parent cd48d1b90b
commit 52993ec781
22 changed files with 29 additions and 50 deletions

View File

@@ -12,7 +12,6 @@ defineModule("styles", {
lazyRequire("contexts", ["Contexts"]);
lazyRequire("template", ["template"]);
function cssUri(css) "chrome-data:text/css," + encodeURI(css);
var namespace = "@namespace html " + JSON.stringify(XHTML) + ";\n" +
"@namespace xul " + JSON.stringify(XUL) + ";\n" +
"@namespace dactyl " + JSON.stringify(NS) + ";\n";
@@ -608,7 +607,6 @@ var Styles = Module("Styles", {
},
{
completer: function (context, args) {
let compl = [];
let sheet = args["-group"].get(args["-name"]);
if (args.completeArg == 0) {
if (sheet)
@@ -685,8 +683,6 @@ var Styles = Module("Styles", {
}, {
bang: true,
completer: function (context, args) {
let uris = util.visibleURIs(window.content);
Styles.completeSite(context, window.content, args["-group"]);
if (cmd.filter)
context.filters.push(({ sheets }) => sheets.some(cmd.filter));