define(["jquery"],function($){varexports={};exports.forceScrollableWindow=function(appendTo){// The main testable area is 10000x10000 so to enforce scrolling,// this DIV must be greater than 10000 to workreturn$("<div>").css({height:"11000px",width:"11000px"}).appendTo(appendTo||"#qunit-fixture");};exports.onFocus=function(element,onFocus){varfn=function(event){if(!event.originalEvent){return;}element.off("focus",fn);onFocus();};element.on("focus",fn)[0].focus();};returnexports;});