mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Moving jQuery-core specific resets from QUnit to core.
This commit is contained in:
parent
2084e01780
commit
646fbea561
@ -1,5 +1,16 @@
|
||||
jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
|
||||
|
||||
// jQuery-specific QUnit.reset
|
||||
(function() {
|
||||
var reset = QUnit.reset;
|
||||
var ajaxSettings = jQuery.ajaxSettings
|
||||
QUnit.reset = function() {
|
||||
reset.apply(this, arguments);
|
||||
jQuery.event.global = {};
|
||||
jQuery.ajaxSettings = jQuery.extend({}, ajaxSettings);
|
||||
};
|
||||
})();
|
||||
|
||||
// load testswarm agent
|
||||
(function() {
|
||||
var url = window.location.search;
|
||||
|
Loading…
Reference in New Issue
Block a user