Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Bug 862085: Correct a typo in the xpcom docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mossop committed Apr 15, 2013
1 parent 33ae5f9 commit 1b82512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/module-source/sdk/platform/xpcom.md
Expand Up @@ -48,7 +48,7 @@ interface to listen for and log all topic notifications:
observerService.addObserver(this, this.topic, false);
},
unregister: function() {
addObserver.removeObserver(this, this.topic);
observerService.removeObserver(this, this.topic);
},
observe: function observe(subject, topic, data) {
console.log('star observer:', subject, topic, data);
Expand Down

0 comments on commit 1b82512

Please sign in to comment.