From bc0463774fc75f19225e1c0fbbb789d0c8c7361c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 27 May 2006 00:44:24 +0000 Subject: [PATCH] Move XPCOM-included files into subdirectory to keep separate from chrome files and rename overlay.js to scholar.js --- .../chromeFiles/content/scholar/{ => xpcom}/data_access.js | 0 chrome/chromeFiles/content/scholar/{ => xpcom}/db.js | 0 .../content/scholar/{overlay.js => xpcom/scholar.js} | 0 components/chnmIScholarService.js | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) rename chrome/chromeFiles/content/scholar/{ => xpcom}/data_access.js (100%) rename chrome/chromeFiles/content/scholar/{ => xpcom}/db.js (100%) rename chrome/chromeFiles/content/scholar/{overlay.js => xpcom/scholar.js} (100%) diff --git a/chrome/chromeFiles/content/scholar/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js similarity index 100% rename from chrome/chromeFiles/content/scholar/data_access.js rename to chrome/chromeFiles/content/scholar/xpcom/data_access.js diff --git a/chrome/chromeFiles/content/scholar/db.js b/chrome/chromeFiles/content/scholar/xpcom/db.js similarity index 100% rename from chrome/chromeFiles/content/scholar/db.js rename to chrome/chromeFiles/content/scholar/xpcom/db.js diff --git a/chrome/chromeFiles/content/scholar/overlay.js b/chrome/chromeFiles/content/scholar/xpcom/scholar.js similarity index 100% rename from chrome/chromeFiles/content/scholar/overlay.js rename to chrome/chromeFiles/content/scholar/xpcom/scholar.js diff --git a/components/chnmIScholarService.js b/components/chnmIScholarService.js index abbb222c9d..6556ae88fa 100644 --- a/components/chnmIScholarService.js +++ b/components/chnmIScholarService.js @@ -16,16 +16,16 @@ var ScholarWrapped = this; Cc["@mozilla.org/moz/jssubscript-loader;1"] .getService(Ci.mozIJSSubScriptLoader) - .loadSubScript("chrome://scholar/content/overlay.js"); + .loadSubScript("chrome://scholar/content/xpcom/scholar.js"); Cc["@mozilla.org/moz/jssubscript-loader;1"] .getService(Ci.mozIJSSubScriptLoader) - .loadSubScript("chrome://scholar/content/db.js"); + .loadSubScript("chrome://scholar/content/xpcom/db.js"); Cc["@mozilla.org/moz/jssubscript-loader;1"] .getService(Ci.mozIJSSubScriptLoader) - .loadSubScript("chrome://scholar/content/data_access.js"); + .loadSubScript("chrome://scholar/content/xpcom/data_access.js"); /********************************************************************/