aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-04-26 12:20:05 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-04-26 12:20:05 +0200
commit6eef226036171d9cad65a1058a56d9e5250d820b (patch)
tree133d31ad95bc2fea963af8aab4d5bbdf31319406 /bugzillaBugTriage.js
parent1dce63de5a30aa7bd6ce2cbf3169476698f6ef16 (diff)
downloadbugzilla-triage-6eef226036171d9cad65a1058a56d9e5250d820b.tar.gz
fix issue 30 ... new format of Xorg.0.log
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