stn.js
function (no_clear) {
		var result;
		
		if (this.msgs === undefined) {
			this.msgs = [];
		}
		result = this.msgs.join("\n");

		// set optional default i needed
		if (no_clear !== undefined) {
			no_clear = false;
		}

		if (no_clear === true) {
			return result;
		}

		// Clear the messages
		this.msgs = [];
		return result;
	}
function (no_clear) {
		var result;
		
		if (this.msgs === undefined) {
			this.msgs = [];
		}
		result = this.msgs.join("\n");

		// set optional default i needed
		if (no_clear !== undefined) {
			no_clear = false;
		}

		if (no_clear === true) {
			return result;
		}

		// Clear the messages
		this.msgs = [];
		return result;
	}
function ( no_clear ) { var result ; if ( this . msgs === undefined ) { this . msgs = [ ] ; } result = this . msgs . join ( "\n" ) ; // set optional default i needed if ( no_clear !== undefined ) { no_clear = false ; } if ( no_clear === true ) { return result ; } // Clear the messages this . msgs = [ ] ; return result ; }
messages - return the msgs array as a single string delimited
by new lines.
@param no_clear (optional, defaults to false)
@return string representing in messages
messages - return the msgs array as a single string delimited by new lines .