Code Duplication    Length = 7-7 lines in 2 locations

Ajax/common/components/SimpleComponent.php 1 location

@@ 45-51 (lines=7) @@
42
		return $result;
43
	}
44
45
	public function getScript() {
46
		$allParams=$this->params;
47
		$this->jquery_code_for_compile=array ();
48
		$this->jquery_code_for_compile []="$( \"".$this->attachTo."\" ).{$this->uiName}(".$this->getParamsAsJSON($allParams).");";
49
		$this->compileEvents();
50
		return $this->compileJQueryCode();
51
	}
52
53
	/**
54
	 *

Ajax/semantic/components/Form.php 1 location

@@ 62-68 (lines=7) @@
59
		$this->js=$js;
60
	}
61
62
	public function getScript() {
63
		$allParams=$this->params;
64
		$this->jquery_code_for_compile=array ();
65
		$this->jquery_code_for_compile []="$( \"".$this->attachTo."\" ).{$this->uiName}(".$this->getParamsAsJSON($allParams).");";
66
		$this->compileEvents();
67
		return $this->compileJQueryCode();
68
	}
69
}