Ajax/JsUtils.php
public function output($array_js) {
		if (!is_array($array_js)) {
			$array_js=array (
					$array_js
			);
		}

		foreach ( $array_js as $js ) {
			$this->jquery_code_for_compile[]="\t$js\n";
		}
	}
public function output($array_js) {
		if (!is_array($array_js)) {
			$array_js=array (
					$array_js
			);
		}

		foreach ( $array_js as $js ) {
			$this->jquery_code_for_compile[]="\t$js\n";
		}
	}
public function output ( $ array_js ) { if ( ! is_array ( $ array_js ) ) { $ array_js = array ( $ array_js ) ; } foreach ( $ array_js as $ js ) { $ this -> jquery_code_for_compile [ ] = "\t$js\n" ; } }
Outputs the called javascript to the screen

@param string $array_js code to output
@return string
Outputs the called javascript to the screen