1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 19:37:57 +01:00

Fix switch statement indentation.

This commit is contained in:
Doug Kearns
2013-10-15 02:35:02 +11:00
parent 0527544c28
commit b840612bb8
5 changed files with 100 additions and 100 deletions

2
common/bootstrap.js vendored
View File

@@ -224,7 +224,7 @@ function init() {
for each (let line in manifest.split("\n")) {
let fields = line.split(/\s+/);
switch(fields[0]) {
switch (fields[0]) {
case "category":
categoryManager.addCategoryEntry(fields[1], fields[2], fields[3], false, true);
categories.push([fields[1], fields[2]]);

View File

@@ -307,7 +307,7 @@ var Help = Module("Help", {
let empty = Set("area base basefont br col frame hr img input isindex link meta param"
.split(" "));
function fix(node) {
switch(node.nodeType) {
switch (node.nodeType) {
case Ci.nsIDOMNode.ELEMENT_NODE:
if (isinstance(node, [Ci.nsIDOMHTMLBaseElement]))
return;