expect(6);
stop();
- var context = {};
+ var context = document.createElement("div");
function event(e){
equals( this, context, e.type );
stop();
jQuery.getJSON(url("data/json.php"), function(json) {
- if (!old)
- delete window.JSON
- else
- window.JSON = old;
- equals( json, true, "Verifying return value" );
- start();
+ window.JSON = old;
+ equals( json, true, "Verifying return value" );
+ start();
});
});