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-04-28 19:14:20 +0200
commitaf9a8239914fb783ddd41a9dc571bd5fb2126050 (patch)
tree5f2414fa4e3fb6251e35c547a6152a780296ca9a /lib
parent32af48e442a960b8c3f199f5ffad28a34590fcda (diff)
downloadbugzilla-triage-af9a8239914fb783ddd41a9dc571bd5fb2126050.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);