/** * Gets the 'assetic.filter.uglifyjs2' service. * * This service is shared. * This method always returns the same instance of the service. * * @return \Assetic\Filter\UglifyJs2Filter A Assetic\Filter\UglifyJs2Filter instance. */ protected function getAssetic_Filter_Uglifyjs2Service() { $this->services['assetic.filter.uglifyjs2'] = $instance = new \Assetic\Filter\UglifyJs2Filter('/usr/local/bin/uglifyjs', 'c:\\Program Files\\nodejs\\\\node.EXE'); $instance->setTimeout(NULL); $instance->setNodePaths(array()); $instance->setCompress(false); $instance->setBeautify(false); $instance->setMangle(false); $instance->setScrewIe8(false); $instance->setComments(false); $instance->setWrap(false); $instance->setDefines(array()); return $instance; }
/** * Gets the 'assetic.filter.uglifyjs2' service. * * This service is shared. * This method always returns the same instance of the service. * * @return \Assetic\Filter\UglifyJs2Filter A Assetic\Filter\UglifyJs2Filter instance. */ protected function getAssetic_Filter_Uglifyjs2Service() { $this->services['assetic.filter.uglifyjs2'] = $instance = new \Assetic\Filter\UglifyJs2Filter('/usr/bin/uglifyjs', '/usr/bin/node'); $instance->setTimeout(NULL); $instance->setNodePaths(array(0 => '/usr/lib/node_modules')); $instance->setCompress(false); $instance->setBeautify(false); $instance->setMangle(false); return $instance; }