Commit fbd2b066 authored by John Resig's avatar John Resig

Make it so that you can filter tests by keyword.

parent e3263063
......@@ -74,7 +74,7 @@ function test(name, callback, nowait) {
name = _config.currentModule + " module: " + name;
var filter = location.search.slice(1);
if ( filter && encodeURIComponent(name) != filter )
if ( filter && encodeURIComponent(name).indexOf(filter) == -1 )
return;
synchronize(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment