Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Make filters case-insensitive. Partial fix for #252
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 31 May 2012 17:47:07 +0000 (19:47 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 31 May 2012 17:47:07 +0000 (19:47 +0200)
qunit/qunit.js

index cf46988..b32dd45 100644 (file)
@@ -1007,8 +1007,8 @@ function done() {
 
 function validTest( test ) {
        var include,
-               filter = config.filter,
-               fullName = test.module + ": " + test.testName;
+               filter = config.filter.toLowerCase(),
+               fullName = (test.module + ": " + test.testName).toLowerCase();
 
        if ( config.testNumber ) {
                return test.testNumber === config.testNumber;

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf