add zepto compatibiliy
This commit is contained in:
parent
cb8072df18
commit
337fac620e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user