aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-04-04 22:04:39 +0200
committerDave Methvin <dave.methvin@gmail.com>2013-04-06 17:09:52 -0400
commitdca7681284731053124e6437c5bec58e030cc91d (patch)
tree6646d538c7866f9336f2ac11a6e181b616a5632f /src/core.js
parent1b610266502490eab42a0b9ddfac2f93da0b0fe1 (diff)
downloadjquery-dca7681284731053124e6437c5bec58e030cc91d.tar.gz
jquery-dca7681284731053124e6437c5bec58e030cc91d.zip
Improve CSS and `Support:` comments. Close gh-1220.
1) corrected box-sizing rules order - the unprefixed value should always be the last one 2) removed last semi-colons in CSS rules 3) updated support comments code review changes + more consistent comment spacing
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core.js b/src/core.js
index 9a288fa1b..a35e79893 100644
--- a/src/core.js
+++ b/src/core.js
@@ -409,7 +409,7 @@ jQuery.extend({
if ( obj == null ) {
return String( obj );
}
- // Support: Safari <=5.1 (functionish RegExp)
+ // Support: Safari <= 5.1 (functionish RegExp)
return typeof obj === "object" || typeof obj === "function" ?
class2type[ core_toString.call(obj) ] || "object" :
typeof obj;
@@ -424,9 +424,10 @@ jQuery.extend({
return false;
}
- // Support: Firefox >16
+ // Support: Firefox <20
// The try/catch suppresses exceptions thrown when attempting to access
// the "constructor" property of certain host objects, ie. |window.location|
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=814622
try {
if ( obj.constructor &&
!core_hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {