examples/template_stealjs/funcunit/browser/waits.js
function( timeout, success, message ) {
		var self = this,
			sel = this.selector,
			ret;
		return this.size(function(size){
			return this.is(":visible") === true;
		}, timeout, success, message)
	}
function( timeout, success, message ) {
		var self = this,
			sel = this.selector,
			ret;
		return this.size(function(size){
			return this.is(":visible") === true;
		}, timeout, success, message)
	}
function ( timeout , success , message ) { var self = this , sel = this . selector , ret ; return this . size ( function ( size ) { return this . is ( ":visible" ) === true ; } , timeout , success , message ) }
Waits until the funcUnit selector is visible.
@codestart
//waits until #foo is visible.
S("#foo").visible()
@codeend
@param {Number} [timeout] overrides FuncUnit.timeout.  If provided, the wait will fail if not completed before this timeout.
@param {Function} [success] a callback that runs after the funcUnit is visible, but before the next action.
@param {String} [message] if provided, an assertion will be passed when this wait condition completes successfully
@return [funcUnit] returns the funcUnit for chaining.
Waits until the funcUnit selector is visible .