aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js36
1 files changed, 22 insertions, 14 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 8c39590..56523c1 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -11,15 +11,23 @@ jetpack.future.import("clipboard");
// http://en.wikipedia.org/wiki/HSL_color_space
// when only the value of S is changed
// stupido!!! the string is value in hex for each color
-const RHColor = new Color(158, 41, 43); // RGB 158, 41, 43; HSL 359, 1, 39
-const FedoraColor = new Color(0, 40, 103); // RGB 0, 40, 103; HSL 359, 1, 39
-const RawhideColor = new Color(0, 119, 0); // or "green", or RGB 0, 119, 0, or HSL
+const
+RHColor = new Color(158, 41, 43); // RGB 158, 41, 43; HSL 359, 1, 39
+const
+FedoraColor = new Color(0, 40, 103); // RGB 0, 40, 103; HSL 359, 1, 39
+const
+RawhideColor = new Color(0, 119, 0); // or "green", or RGB 0, 119, 0, or HSL
// 120, 0, 23
-const RHITColor = new Color(102, 0, 102); // RGB 102, 0, 102; HSL 300, 0, 20
-const SalmonPink = new Color(255, 224, 176); // RGB 255, 224, 176; HSL 36, 2, 85
-const ReporterColor = new Color(255, 255, 166); // RGB 255, 255, 166; HSL 60, 2, 83
-const EmptyLogsColor = new Color(0, 255, 0);
-const FullLogsColor = FedoraColor;
+const
+RHITColor = new Color(102, 0, 102); // RGB 102, 0, 102; HSL 300, 0, 20
+const
+SalmonPink = new Color(255, 224, 176); // RGB 255, 224, 176; HSL 36, 2, 85
+const
+ReporterColor = new Color(255, 255, 166); // RGB 255, 255, 166; HSL 60, 2, 83
+const
+EmptyLogsColor = new Color(0, 255, 0);
+const
+FullLogsColor = FedoraColor;
var Luminosity = 0.85;
var Desaturated = 0.4;
@@ -1391,9 +1399,9 @@ BzPage.prototype.queryUpstream = function() {
text = jetpack.clipboard.get();
}
if (text) {
- var text = encodeURIComponent(text.trim());
- var url = filterByRegexp(queryUpstreamBugsURLArray,this.component);
- jetpack.tabs.open(url+text);
+ var text = encodeURIComponent(text.trim());
+ var url = filterByRegexp(queryUpstreamBugsURLArray, this.component);
+ jetpack.tabs.open(url + text);
}
}
@@ -1959,9 +1967,9 @@ BzPage.prototype.buildButtons = function(above, below) {
}
if (queryUpstreamBugsURLArray) {
console.log("Adding upstream query search box");
- if (filterByRegexp(queryUpstreamBugsURLArray,this.component)) {
- this.addNewButton(brElementPlacer, "upstreamqueryintab", "Query upstream",
- "", "QUERYUP", "", false);
+ if (filterByRegexp(queryUpstreamBugsURLArray, this.component)) {
+ this.addNewButton(brElementPlacer, "upstreamqueryintab",
+ "Query upstream", "", "QUERYUP", "", false);
}
}
// Button for upstreaming