aboutsummaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 21:12:05 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 21:12:05 +0000
commit06702d8b3007ca37db4578078901172c64ea97be (patch)
treeb59d7ddeed2063b2d22ad49f710939d39ab7d89f /external
parent0508fd0e04b104f0483f915cbc13b06605e08c0d (diff)
downloadjquery-ui-06702d8b3007ca37db4578078901172c64ea97be.tar.gz
jquery-ui-06702d8b3007ca37db4578078901172c64ea97be.zip
updated to latest QUnit
Diffstat (limited to 'external')
-rw-r--r--external/testrunner-r6574.js (renamed from external/testrunner-r6416.js)16
1 files changed, 5 insertions, 11 deletions
diff --git a/external/testrunner-r6416.js b/external/testrunner-r6574.js
index 8c28b6398..287081879 100644
--- a/external/testrunner-r6416.js
+++ b/external/testrunner-r6574.js
@@ -7,7 +7,7 @@
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
- * $Id: testrunner.js 6416 2009-07-10 16:08:27Z joern.zaefferer $
+ * $Id: testrunner.js 6574 2009-09-15 20:30:29Z joern.zaefferer $
*/
(function($) {
@@ -206,13 +206,8 @@ var equiv = function () {
}();
-var GETParams = $.map( location.search.slice(1).split('&'), decodeURIComponent ),
- ngindex = $.inArray("noglobals", GETParams),
- noglobals = ngindex !== -1;
+var GETParams = $.map( location.search.slice(1).split('&'), decodeURIComponent );
-if( noglobals )
- GETParams.splice( ngindex, 1 );
-
var config = {
stats: {
all: 0,
@@ -359,9 +354,8 @@ var pollution;
function saveGlobal(){
pollution = [ ];
- if( noglobals )
- for( var key in window )
- pollution.push(key);
+ for( var key in window )
+ pollution.push(key);
}
function checkPollution( name ){
var old = pollution;
@@ -415,8 +409,8 @@ function test(name, callback) {
});
synchronize(function() {
try {
- checkPollution();
lifecycle.teardown.call(testEnvironment);
+ checkPollution();
} catch(e) {
QUnit.ok( false, "Teardown failed on " + name + ": " + e.message );
}