summaryrefslogtreecommitdiff
path: root/common/modules/base.jsm
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@gmail.com>2011-01-20 00:41:16 +0100
committerŠtěpán Němec <stepnem@gmail.com>2011-01-20 00:41:16 +0100
commit172c0058cfe9809698ab8dfe5619a6c4f375f2f2 (patch)
treeecaf66da34fb48acf2a087aaec9499956e549166 /common/modules/base.jsm
parentd72bf559eee456e8aa8a6a87689d3dc797854094 (diff)
downloadpentadactyl-172c0058cfe9809698ab8dfe5619a6c4f375f2f2.tar.gz
Typo and consistency fixes.
Diffstat (limited to 'common/modules/base.jsm')
-rw-r--r--common/modules/base.jsm15
1 files changed, 8 insertions, 7 deletions
diff --git a/common/modules/base.jsm b/common/modules/base.jsm
index 13c13471..ef3f4928 100644
--- a/common/modules/base.jsm
+++ b/common/modules/base.jsm
@@ -399,15 +399,16 @@ function isSubclass(targ, src) {
}
/**
- * Returns true if object is an instance or interfaces. If interfaces is an array,
- * returns true if object is an instance of any element of interfaces. If interfaces is
- * the object form of a primitive type, returns true if object is a
- * non-boxed version of the type, i.e., if (typeof object == "string"),
- * isinstance(object, String) is true. Finally, if interfaces is a string,
- * returns true if ({}.toString.call(object) == "[object <interfaces>]").
+ * Returns true if *object* is an instance of *interfaces*. If *interfaces* is
+ * an array, returns true if *object* is an instance of any element of
+ * *interfaces*. If *interfaces* is the object form of a primitive type,
+ * returns true if *object* is a non-boxed version of the type, i.e., if
+ * (typeof object == "string"), isinstance(object, String) is true. Finally, if
+ * *interfaces* is a string, returns true if ({}.toString.call(object) ==
+ * "[object <interfaces>]").
*
* @param {object} object The object to check.
- * @param {constructor|[constructor|string]} interfaces The types to check object against.
+ * @param {constructor|[constructor|string]} interfaces The types to check *object* against.
* @returns {boolean}
*/
var isinstance_types = {