/** * Register JS files * * @return array */ public function getJSFiles() { $list = parent::getJSFiles(); $list[] = $this->getDir() . '/ship_as_bill.js'; return $list; }
/** * Get a list of JS files required to display the widget properly * * @return array */ public function getJSFiles() { return array_merge(parent::getJSFiles(), $this->getWidgetJSFiles()); }
/** * Get a list of JS files required to display the widget properly * * @return array */ public function getJSFiles() { $list = parent::getJSFiles(); $list[] = $this->getDir() . '/input/checkbox/switcher.js'; return $list; }