Tests: Replace resource loader with AMD

:boom: WIP...

Pulll request's goal is to AMDify tests for 1.12.0 release and address part of http://bugs.jqueryui.com/ticket/10119.


Sent from Yahoo Mail for iPadAt 19 Nov, 2014 4:53:07 am, Rafael Xavier de Souzanotifications@github.com'> wrote:In tests/unit/testsuite.js:> -	test( "version", function() {> -		expect( 1 );> -		ok( "version" in $.ui[ widget ].prototype, "version property exists" );> -	});> -};> -> -TestHelpers.onFocus =
 function( element, onFocus ) {> -	var fn = function( event ) {> -		if ( !event.originalEvent ) {> -			return;> -		}> -		element.unbind( "focus", fn );> -		onFocus();> -	};> -> -	element.bind( "focus", fn )[ 0 ].focus();?—Reply to this email directly or view it on GitHub.