1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 20:34:11 +01:00

Minor documentation fixes.

This commit is contained in:
Štěpán Němec
2011-01-27 01:40:14 +01:00
parent 90c2ded645
commit 8db7f4c1e5
4 changed files with 24 additions and 21 deletions

View File

@@ -124,7 +124,7 @@ var Services = Module("Services", {
* @param {string} class The class's contract ID.
* @param {nsISupports|nsISupports[]} ifaces The interface or array of
* interfaces implemented by this service.
* @param {string} meth The name of the function used to instanciate
* @param {string} meth The name of the function used to instantiate
* the service.
*/
add: function (name, class_, ifaces, meth) {
@@ -138,9 +138,11 @@ var Services = Module("Services", {
* Adds a new XPCOM class to the cache.
*
* @param {string} name The class's cache key.
* @param {string} class The class's contract ID.
* @param {string} class_ The class's contract ID.
* @param {nsISupports|nsISupports[]} ifaces The interface or array of
* interfaces implemented by this class.
* @param {string} init Name of a property or method used to initialise the
* class. See {@link #_create}.
*/
addClass: function (name, class_, ifaces, init) {
const self = this;