zotero/chrome/chromeFiles/content/scholar/include.js
Dan Stillman f09def19f7 - Implemented singleton XPCOM component to store core Scholar objects
More details coming on Basecamp: http://chnm.grouphub.com/W161222

*** Important note: after checking out this code, be sure to delete the compreg.dat and xpti.dat files in your FF profile directory or else the extension will not load. They'll be regenerated when you start FF again, and you won't have to do it again unless we add interfaces or other components. Once I set up the XPI packaging system, this step won't be necessary. ***

- Localization properties are now loaded directly via nsIStringBundleService and available via Scholar.getString(name) -- removed stringbundle from XUL

- Updated status line in bottom right to reflect whether Scholar is loaded correctly or not (temporary, obviously)
2006-05-27 00:20:27 +00:00

5 lines
234 B
JavaScript

var Scholar = Components.classes["@chnm.gmu.edu/Scholar;1"]
// Currently uses only nsISupports
//.getService(Components.interfaces.chnmIScholarService).
.getService(Components.interfaces.nsISupports)
.wrappedJSObject;