public function __construct() { parent::__construct(); $this->addJs('js/jquery.js'); $this->addJs('js/jquery/arrive.min.js'); $this->addJs('js/jquery-ui/jquery-ui.min.js'); $this->addCss('css/api.css'); $this->addCss('css/jquery-ui/jquery-ui.css'); //$this->addCss('css/jquery-ui/jquery-ui.min.css'); }
protected function _init() { parent::_init(); // $this->addJs('https://maps.googleapis.com/maps/api/js?v=3.exp'); $this->addJs('js/jquery.js', 'manage'); $this->addJs('js/jquery/arrive.min.js', 'manage'); $this->addJs('js/jquery-ui/jquery-ui.min.js', 'manage'); //$this->addJs('js/jquery-ui/spectrum.js', 'manage'); $this->addJs('js/markerclusterer.js'); //$this->addJs('js/infobubble.js'); $this->addCss('css/jquery-ui/jquery-ui.css', 'manage'); $this->addCss('css/api.css', 'manage'); //$this->addCss('css/spectrum.css','manage'); $this->addCss('css/map.css'); }