aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-04-28 14:28:10 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:47:40 +0200
commit7b6eefcd506ec03e1db422ca6e1f4f1bb8420d1c (patch)
tree3a4b3480ea513c37f98782dd62193f4379ff48aa /lib
parent55d9a312fbba91f1bcf5e3f3291b7bece8abb178 (diff)
downloadbugzilla-triage-7b6eefcd506ec03e1db422ca6e1f4f1bb8420d1c.tar.gz
Reorganization.
* fixingAttMIME, rhbzpage, xorgBugCategories moved to data/rhlib directory, * docs directory removed ... keep documentation in JSDocs; rewrite in MD is a waste of time. * move Ehsan’s scripts to separate data/tweaks directory.
Diffstat (limited to 'lib')
-rw-r--r--lib/main.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/main.js b/lib/main.js
index f3e9458..c7fe2fd 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -29,7 +29,7 @@ function isOurPage(window, matchingURLs) {
}
/**
- *
+ *
*/
function skipThisPage(doc) {
var stemURL = "https://HOSTNAME/show_bug.cgi?id=";
@@ -119,22 +119,22 @@ var messageHandler = exports.messageHandler = function messageHandler(
};
var contentScriptLibraries = [
- self.data.url('lib/urltest.js'),
+ self.data.url('tweaks/urltest.js'),
self.data.url("lib/util.js"),
self.data.url("lib/jumpNextBug.js"),
self.data.url("lib/queries.js"),
self.data.url("lib/preprocessDuplicates.js"),
- self.data.url("lib/viewSource.js"),
+ self.data.url("tweaks/viewSource.js"),
self.data.url("lib/color.js"),
- self.data.url("lib/addNewLinks.js"),
+ self.data.url("tweaks/addNewLinks.js"),
self.data.url("lib/bugzillaDOMFunctions.js"),
- self.data.url("lib/xorgBugCategories.js"),
+ self.data.url("rhlib/xorgBugCategories.js"),
self.data.url("lib/otherButtons.js"),
self.data.url("lib/makeBacktraceAttachment.js"),
- self.data.url("lib/fixingAttMIME.js"),
+ self.data.url("rhlib/fixingAttMIME.js"),
self.data.url("lib/logging-front.js"),
- self.data.url('lib/bug-page-mod.js'),
- self.data.url("lib/rhbzpage.js"),
+ self.data.url('tweaks/bug-page-mod.js'),
+ self.data.url("rhlib/rhbzpage.js"),
self.data.url("lib/bzpage.js")
];
@@ -175,16 +175,16 @@ pageMod.PageMod({
contextMenu.Item({
label : "Toggle CC History",
contentScriptFile : [
- self.data.url('lib/urltest.js'),
- self.data.url('lib/cc-context.js')
+ self.data.url('tweaks/urltest.js'),
+ self.data.url('tweaks/cc-context.js')
]
});
contextMenu.Item({
label : "Copy Check-in Comment",
contentScriptFile : [
- self.data.url('lib/urltest.js'),
- self.data.url('lib/checkin-context.js')
+ self.data.url('tweaks/urltest.js'),
+ self.data.url('tweaks/checkin-context.js')
],
onMessage : function(comment) {
require("clipboard").set(comment);