]> source.dussan.org Git - jquery.git/commit
Fix #13075. Optimize $.type by preferring `typeof`. Close gh-1089.
authorSebi Burkhard <sebi.burkhard@gmail.com>
Tue, 18 Dec 2012 15:33:32 +0000 (22:33 +0700)
committerDave Methvin <dave.methvin@gmail.com>
Sun, 23 Dec 2012 20:41:56 +0000 (15:41 -0500)
commit5eec75e582d27e2d4f625f6be33eabad84f16239
treec1f298994ab8e30a39de2da67a915ead093c4b81
parentd8298046311e66a47424ec3f3cbe77e97bee3958
Fix #13075. Optimize $.type by preferring `typeof`. Close gh-1089.

Also fixes browsers where `typeof RegExp === "function"`.
src/core.js
test/unit/core.js