1
0
mirror of synced 2024-11-23 05:26:10 +03:00

Merge pull request #1571 from fedeisas/master

add zepto compatibiliy
This commit is contained in:
Igor Vaynberg 2013-07-25 13:31:35 -07:00
commit bbb3e14102

View File

@ -20,7 +20,7 @@ the specific language governing permissions and limitations under the Apache Lic
*/ */
(function ($) { (function ($) {
if(typeof $.fn.each2 == "undefined") { if(typeof $.fn.each2 == "undefined") {
$.fn.extend({ $.extend($.fn, {
/* /*
* 4-10 times faster .each replacement * 4-10 times faster .each replacement
* use it carefully, as it overrides jQuery context of element on each iteration * use it carefully, as it overrides jQuery context of element on each iteration