Commit 646fbea5 authored by jzaefferer's avatar jzaefferer

Moving jQuery-core specific resets from QUnit to core.

parent 2084e017
jQuery.noConflict(); // Allow the test to run with other libs or jQuery's. 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 // load testswarm agent
(function() { (function() {
var url = window.location.search; var url = window.location.search;
......
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