3 for ( var i = 0; i < arguments.length; i++ ) {
4 r.push( document.getElementById( arguments[i] ) );
10 var f = jQuery.find(b);
12 for ( var i = 0; i < f.length; i++ )
13 s += (s?",":"") + '"' + f[i].id + '"';
14 isSet(f,q.apply(q,c),a + " (" + b + ")") ||
19 var li = document.createElement("li");
21 if ( a.indexOf("#") == 0 )
22 li.className = "comment";
23 else if ( a.indexOf("TODO") >= 0 )
24 li.className = "todo";
25 else if ( a.indexOf("not ok") == 0 )
26 li.classname = "fail";
28 li.className = "pass";
29 document.getElementById("test").appendChild(li);