@@ 100-107 (lines=8) @@ | ||
97 | } |
|
98 | } |
|
99 | ||
100 | if ($this->js) { |
|
101 | if (is_string($this->js)) { |
|
102 | $this->js = [$this->js]; |
|
103 | } |
|
104 | foreach ($this->js AS $script) { |
|
105 | $this->view->registerScriptFile($this->publishPath . $script, $this->isHead); |
|
106 | } |
|
107 | } |
|
108 | if ($this->css) { |
|
109 | if (is_string($this->css)) { |
|
110 | $this->css = [$this->css]; |
|
@@ 108-115 (lines=8) @@ | ||
105 | $this->view->registerScriptFile($this->publishPath . $script, $this->isHead); |
|
106 | } |
|
107 | } |
|
108 | if ($this->css) { |
|
109 | if (is_string($this->css)) { |
|
110 | $this->css = [$this->css]; |
|
111 | } |
|
112 | foreach ($this->css AS $style) { |
|
113 | $this->view->registerCssFile($this->publishPath . $style, $this->isHead); |
|
114 | } |
|
115 | } |
|
116 | } |
|
117 | } |
|
118 |