@@ 193-202 (lines=10) @@ | ||
190 | /** |
|
191 | * Método que devuelve el html con la ruta compilada del recurso javascript |
|
192 | */ |
|
193 | protected function printJs() |
|
194 | { |
|
195 | if ($this->debug && 0 < count($this->compiled_files)) { |
|
196 | foreach ($this->compiled_files as $file) { |
|
197 | echo "\t\t<script type='text/javascript' src='{$file}'></script>\n"; |
|
198 | } |
|
199 | } else { |
|
200 | echo "\t\t<script type='text/javascript' src='/js/".$this->hash.".js'></script>\n"; |
|
201 | } |
|
202 | } |
|
203 | ||
204 | /** |
|
205 | * Método que devuelve el html con la ruta compilada del recurso css |
|
@@ 207-216 (lines=10) @@ | ||
204 | /** |
|
205 | * Método que devuelve el html con la ruta compilada del recurso css |
|
206 | */ |
|
207 | protected function printCss() |
|
208 | { |
|
209 | if ($this->debug && 0 < count($this->compiled_files)) { |
|
210 | foreach ($this->compiled_files as $file) { |
|
211 | echo "\t\t<link href='{$file}' rel='stylesheet' media='screen, print'>"; |
|
212 | } |
|
213 | } else { |
|
214 | echo "\t\t<link href='/css/".$this->hash.".css' rel='stylesheet' media='screen, print'>"; |
|
215 | } |
|
216 | } |
|
217 | ||
218 | /** |
|
219 | * @param string $source |