From 7b6eefcd506ec03e1db422ca6e1f4f1bb8420d1c Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 28 Apr 2011 14:28:10 +0200 Subject: Reorganization. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- lib/main.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib') 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); -- cgit