]> source.dussan.org Git - jquery.git/commitdiff
Gandalf the Grey says you shall not leak globals, even in the depths of Unit Tests...
authorjaubourg <j@ubourg.net>
Mon, 30 Apr 2012 01:04:45 +0000 (03:04 +0200)
committerjaubourg <j@ubourg.net>
Mon, 30 Apr 2012 01:04:45 +0000 (03:04 +0200)
test/unit/callbacks.js

index 3e99362383467a9f69490ededbc9427cd209417b..5fcee49bdfc1ddc0ee02c38e6361764508596366 100644 (file)
@@ -66,7 +66,7 @@ jQuery.each( tests, function( strFlags, resultString ) {
                                        stop();
                                        setTimeout( start, 0 );
 
-                                       var cblist;
+                                       var cblist,
                                                results = resultString.split( /\s+/ );
 
                                        // Basic binding and firing