public function _compile(&$view=NULL, $view_var='script_foot', $script_tags=TRUE) {
		// Components UI
		$ui=$this->ui();
		if ($this->ui()!=NULL) {
			if ($ui->isAutoCompile()) {
				$ui->compile(true);
			}
		}

		// Components BS
		$bootstrap=$this->bootstrap();
		if ($this->bootstrap()!=NULL) {
			if ($bootstrap->isAutoCompile()) {
				$bootstrap->compile(true);
			}
		}

		// Components Semantic
		$semantic=$this->semantic();
		if ($semantic!=NULL) {
			if ($semantic->isAutoCompile()) {
				$semantic->compile(true);
			}
		}

		// External references
		$external_scripts=implode('', $this->jquery_code_for_load);
		extract(array (
				'library_src' => $external_scripts
		));

		if (count($this->jquery_code_for_compile)==0) {
			// no inline references, let's just return
			return;
		}

		// Inline references
		$script='$(document).ready(function() {'."\n";
		$script.=implode('', $this->jquery_code_for_compile);
		$script.='});';

		$this->jquery_code_for_compile=array();
		if($this->params["debug"]==false){
			$script=$this->minify($script);
		}
		$output=($script_tags===FALSE) ? $script : $this->inline($script);

		if ($view!==NULL){
			$this->jsUtils->createScriptVariable($view,$view_var, $output);
		}
		return $output;
	}