Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least).
This commit is contained in:
parent
ba8938d444
commit
8effe3a7de
14 changed files with 141 additions and 115 deletions
|
@ -584,3 +584,19 @@ jQuery.extend({
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
function evalScript( i, elem ) {
|
||||
if ( elem.src ) {
|
||||
jQuery.ajax({
|
||||
url: elem.src,
|
||||
async: false,
|
||||
dataType: "script"
|
||||
});
|
||||
} else {
|
||||
jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" );
|
||||
}
|
||||
|
||||
if ( elem.parentNode ) {
|
||||
elem.parentNode.removeChild( elem );
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue