assets/ckeditor/tests/plugins/imagebase/features/caption.js
// Note that it calls wait(), so no code after this function is executed.
Note that it calls wait(), so no code after this function is executed.
Note that it calls wait () so no code after this function is executed .
function blurEditor( options ) {
		var focusHost = CKEDITOR.document.getById( 'focusHost' ),
			blurHost = options.blurHost;
		blurHost.once( 'blur', function() {
			resume( function() {
				options.assert();
			} );
		}, null, null, 9999 );
		setTimeout( function() {
			focusHost.focus();
		}, 0 );
		wait();
	}
function blurEditor ( options ) { var focusHost = CKEDITOR . document . getById ( 'focusHost' ) , blurHost = options . blurHost ; blurHost . once ( 'blur' , function ( ) { resume ( function ( ) { options . assert ( ) ; } ) ; } , null , null , 9999 ) ; setTimeout ( function ( ) { focusHost . focus ( ) ; } , 0 ) ; wait ( ) ; }
Note that it calls wait(), so no code after this function is executed.
Note that it calls wait () so no code after this function is executed .
// Normally we'd listen to focusHost#focus event, but it happens **before** blur, which might handle // this case. // Enforce focus event to be called asynchronously on all browsers.