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:
2
common/bootstrap.js
vendored
2
common/bootstrap.js
vendored
@@ -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]]);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user