コンポーネント登録の仕方を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6880 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-07-06 07:39:20 +00:00
parent 94dd43ac12
commit 67f3609048
2 changed files with 3 additions and 10 deletions

View File

@ -44,4 +44,3 @@ resource treestyletab-modules modules/
component {305122d0-5bdc-11de-8a39-0800200c9a66} components/AboutGroup.js
contract @mozilla.org/network/protocol/about;1?what=treestyletab-group {305122d0-5bdc-11de-8a39-0800200c9a66}
category profile-after-change about:treestyletab-group handler @mozilla.org/network/protocol/about;1?what=treestyletab-group

View File

@ -43,15 +43,9 @@ function AboutGroup()
}
AboutGroup.prototype = {
get contractID() {
return '@mozilla.org/network/protocol/about;1?what=treestyletab-group';
},
get classDescription() {
return 'about:treestyletab-group handler';
},
get classID() {
return Components.ID('{305122d0-5bdc-11de-8a39-0800200c9a66}');
},
contractID : '@mozilla.org/network/protocol/about;1?what=treestyletab-group',
classDescription : 'about-treestyletab-group',
classID : Components.ID('{305122d0-5bdc-11de-8a39-0800200c9a66}'),
newChannel : function(aURI)
{