| @@ 133-146 (lines=14) @@ | ||
| 130 | * @see \uix\ui\uix |
|
| 131 | * @access public |
|
| 132 | */ |
|
| 133 | public function set_assets() { |
|
| 134 | ||
| 135 | $this->assets['script']['baldrick'] = array( |
|
| 136 | 'src' => $this->url . 'assets/js/jquery.baldrick' . UIX_ASSET_DEBUG . '.js', |
|
| 137 | 'deps' => array( 'jquery' ), |
|
| 138 | ); |
|
| 139 | $this->assets['script']['modals'] = array( |
|
| 140 | 'src' => $this->url . 'assets/js/modals' . UIX_ASSET_DEBUG . '.js', |
|
| 141 | 'deps' => array( 'baldrick' ), |
|
| 142 | ); |
|
| 143 | $this->assets['style']['modals'] = $this->url . 'assets/css/modals' . UIX_ASSET_DEBUG . '.css'; |
|
| 144 | ||
| 145 | parent::set_assets(); |
|
| 146 | } |
|
| 147 | ||
| 148 | /** |
|
| 149 | * Render the Control |
|
| @@ 128-141 (lines=14) @@ | ||
| 125 | * @see \uix\ui\uix |
|
| 126 | * @access public |
|
| 127 | */ |
|
| 128 | public function set_assets() { |
|
| 129 | ||
| 130 | $this->assets['script']['baldrick'] = array( |
|
| 131 | 'src' => $this->url . 'assets/js/jquery.baldrick' . UIX_ASSET_DEBUG . '.js', |
|
| 132 | 'deps' => array( 'jquery' ), |
|
| 133 | ); |
|
| 134 | $this->assets['script']['uix-ajax'] = array( |
|
| 135 | 'src' => $this->url . 'assets/js/ajax' . UIX_ASSET_DEBUG . '.js', |
|
| 136 | 'deps' => array( 'baldrick' ), |
|
| 137 | ); |
|
| 138 | $this->assets['style']['uix-ajax'] = $this->url . 'assets/css/ajax' . UIX_ASSET_DEBUG . '.css'; |
|
| 139 | ||
| 140 | parent::set_assets(); |
|
| 141 | } |
|
| 142 | ||
| 143 | /** |
|
| 144 | * Sets the wrappers attributes |
|