Side navigation
Ticket #4969: jquery123.filter.length.patch
File jquery123.filter.length.patch, 0.4 KB (added by jnorell, July 24, 2009 08:34PM UTC)
tweak validTest() to work in Galio browser
--- jquery-1.3.2-orig/test/qunit/testrunner.js 2009-02-19 14:34:01.000000000 -0800
+++ jquery-1.3.2-release/test/qunit/testrunner.js 2009-07-24 13:26:55.000000000 -0700
@@ -311,7 +316,7 @@
not = filter.charAt(0) == '!';
if( not )
filter = filter.slice(1);
- if( name.indexOf(filter) != -1 )
+ if( (filter.length == 0) || name.indexOf(filter) != -1 )
return !not;
if( not )
run = true;
Download in other formats:
Original Format
File jquery123.filter.length.patch, 0.4 KB (added by jnorell, July 24, 2009 08:34PM UTC)
tweak validTest() to work in Galio browser
--- jquery-1.3.2-orig/test/qunit/testrunner.js 2009-02-19 14:34:01.000000000 -0800
+++ jquery-1.3.2-release/test/qunit/testrunner.js 2009-07-24 13:26:55.000000000 -0700
@@ -311,7 +316,7 @@
not = filter.charAt(0) == '!';
if( not )
filter = filter.slice(1);
- if( name.indexOf(filter) != -1 )
+ if( (filter.length == 0) || name.indexOf(filter) != -1 )
return !not;
if( not )
run = true;