Quantcast
Channel: Comments on: jQuery.grep()
Browsing latest articles
Browse All 6 View Live

By: rwbaskette

How about creating an alias to this called jQuery.filter that takes the parameters in the opposite order to stay consistent with the each function: jQuery.each( collection, callback(indexInArray,...

View Article



By: bob

Why include the invert parameter? Seems that it would make it confusing for someone debugging code if they notice in the grep function something like return n == 0; when, if the invert parameter is...

View Article

By: Scott Ziegler

Not to mention the fact that this method has absolutely NOTHING to do with global regular expression printing or parsing, which is what grep stands for in the first place. Its like some child who...

View Article

By: kurrent

I posted a comment a year ago asking them to consider changing the very misleading and confusing name for this method. My comment was deleted a few days later for no reason .

View Article

By: Karl Swedberg

Not sure where you posted the comment, but if you posted it here on the API documentation site (which wouldn't have been possible a year ago, because it didn't exist in this format at that time and...

View Article


By: Karl Swedberg

Not sure where you posted the comment, but if you posted it here on the API documentation site (which wouldn't have been possible a year ago, because it didn't exist in this format at that time and...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images