Renamed the contract ID for the Zotero from "@chnm.gmu.edu/Zotero;1" to "@zotero.org/Zotero;1" -- this is a little dumb, since it means that utilities will have to be changed for Beta 3, but since this line will end up being copied all over the place in perpetuity, it's probably better for it to be zotero.org. (And actually, it may not come up much--anyone working within the main overlay will already have the Zotero object and in other windows people can just include chrome://zotero/content/include.js in their XUL file and not worry about it...)

Removed ECL from chnmIZoteroService.js, since most of it is boilerplate from Mozilla anyway
This commit is contained in:
Dan Stillman 2006-10-10 16:53:47 +00:00
parent 8eb5b6cf03
commit b6cb874610
2 changed files with 2 additions and 24 deletions

View File

@ -1,4 +1,4 @@
var Zotero = Components.classes["@chnm.gmu.edu/Zotero;1"]
var Zotero = Components.classes["@zotero.org/Zotero;1"]
// Currently uses only nsISupports
//.getService(Components.interfaces.chnmIZoteroService).
.getService(Components.interfaces.nsISupports)

View File

@ -1,26 +1,4 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright (c) 2006 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
http://chnm.gmu.edu
Licensed under the Educational Community License, Version 1.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.opensource.org/licenses/ecl1.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
***** END LICENSE BLOCK *****
*/
const ZOTERO_CONTRACTID = '@chnm.gmu.edu/Zotero;1';
const ZOTERO_CONTRACTID = '@zotero.org/Zotero;1';
const ZOTERO_CLASSNAME = 'Zotero';
const ZOTERO_CID = Components.ID('{e4c61080-ec2d-11da-8ad9-0800200c9a66}');
const ZOTERO_IID = Components.interfaces.chnmIZoteroService;