lib/require.js
function extract(type) {
			for(var index = 0; index < 3; index++) {
				if (typeof args[index] === type) { return args[index]; }
			}
		}
function extract(type) {
			for(var index = 0; index < 3; index++) {
				if (typeof args[index] === type) { return args[index]; }
			}
		}
function extract ( type ) { for ( var index = 0 ; index < 3 ; index ++ ) { if ( typeof args [ index ] === type ) { return args [ index ] ; } } }
Slightly looser than AMD, identify supplied parameters by type.
Slightly looser than AMD identify supplied parameters by type .