We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc9cadf commit 73aa8efCopy full SHA for 73aa8ef
1 file changed
Ajax/php/cakephp/JsUtilsComponent.php
@@ -1,5 +1,6 @@
1
<?php
2
3
+namespace App\Controller\Component;
4
5
use Ajax\php\cakephp\_JsUtils;
6
use Cake\Controller\Component;
@@ -10,10 +11,11 @@ class JsUtilsComponent extends Component {
10
11
* @var Ajax\php\cakephp\_JsUtils
12
*/
13
public $jquery;
14
+ public function initialize(array $config){
15
\extract($config);
16
$this->jquery=new _JsUtils();
17
if(isset($semantic)){
18
$this->jquery->semantic(new Semantic());
19
}
20
-}
21
+}
0 commit comments