Example #1
0
 public function preProcess()
 {
     parent::preProcess();
     // remove head included javascripts from compression
     foreach ($this->assets as $webPath => $options) {
         if (!empty($options['head_inclusion'])) {
             unset($this->assets[$webPath]);
         }
     }
 }
Example #2
0
 public function getDefaultOptions()
 {
     return array_merge(parent::getDefaultOptions(), array('black_list' => array()));
 }