|
@@ 90-96 (lines=7) @@
|
| 87 |
|
* @param bool $debug |
| 88 |
|
* @return Page |
| 89 |
|
*/ |
| 90 |
|
public function set_head_js_group($group, $debug=FALSE) |
| 91 |
|
{ |
| 92 |
|
$file = $this->CI->config->item('group_style_path') . $group; |
| 93 |
|
$file .= ($debug == TRUE) ? "/debug/1" : ""; |
| 94 |
|
$this->head_js .= $this->script_tag($file, FALSE); |
| 95 |
|
return $this; |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
// -------------------------------------------------------------------------- |
| 99 |
|
|
|
@@ 124-130 (lines=7) @@
|
| 121 |
|
* @param string $group |
| 122 |
|
* @return Page |
| 123 |
|
*/ |
| 124 |
|
public function set_foot_js_group($group, $debug=FALSE) |
| 125 |
|
{ |
| 126 |
|
$file = $this->CI->config->item('group_style_path') . $group; |
| 127 |
|
$file .= ($debug == TRUE) ? "/debug/1" : ""; |
| 128 |
|
$this->foot_js .= $this->script_tag($file, FALSE); |
| 129 |
|
return $this; |
| 130 |
|
} |
| 131 |
|
|
| 132 |
|
// -------------------------------------------------------------------------- |
| 133 |
|
|