Hi, new with PHALCON,
Trying to minify some js, code below:
public function fichaAction() {
$this->assets
->addJs('./../js/jquery-1.11.2.js')
->addJs('../../js/jquery.validate.min.js')
->addJs('../../js/infodiv.js')
->addJs('../../js/jquery.imageZoom.js')
->addJs('../../js/JQueryValidationProductPage.js')
->addJs('../../js/popup-window.js')
->addJs('../../js/product2scjs')
->addJs('../../js/productpage.js')
->addJs('../../js/tabber.js')
->addFilter(new Phalcon\Assets\Filters\Jsmin());
I'm getting the error: Call to undefined method Phalcon\Assets\Manager::addFilter()
When I use without the addFilter(new Phalcon\Assets\Filters\Jsmin()), everything goes ok, but no minify, offcourse. All the examples use the addFilter, but when I look at the documentation, of the Phalcon\Assets\Manager there is no addFilter method.
Using PHALCON 1.3.4 on Windows
Thank you