jquery core: closes #2771
authorAriel Flesler <aflesler@gmail.com>
Thu, 8 May 2008 16:14:49 +0000 (16:14 +0000)
committerAriel Flesler <aflesler@gmail.com>
Thu, 8 May 2008 16:14:49 +0000 (16:14 +0000)
commit858d56fc8e26a686cb19d1e35b0c2e8953987e49
tree37739772b29a384f9eeb4f783c6bb45e116945a6
parentca73ba5668734523c008147ecd9ea037cc841af4
jquery core: closes #2771
$.inArray now makes a === check because of IE.
$.inArray is used in $.fn.index, this is shorter, and breaks the loop when possible.
$.fn.index can receive a jquery object, and the first element is used
src/core.js