/**
  *
  */
 protected function processScripts()
 {
     if (isset($this->render_script_file_groups) && is_array($this->render_script_file_groups)) {
         foreach ($this->render_script_file_groups as $filegroup) {
             parent::processScriptFiles($filegroup);
             $oc = RokBooster_Compressor_OutputContainerFactory::create($filegroup, $this->options);
             $oc->write('application/x-javascript');
             $this->storeFileInfo($filegroup);
             $this->finishedRendering($filegroup);
         }
     }
 }
Esempio n. 2
0
 /**
  *
  */
 protected function processScriptFiles()
 {
     if (isset($this->render_script_file_groups) && is_array($this->render_script_file_groups)) {
         foreach ($this->render_script_file_groups as $filegroup) {
             parent::processScriptFiles($filegroup);
             $this->cache->writeScriptFile($filegroup);
             $this->storeFileInfo($filegroup);
             $this->finishedRendering($filegroup->getChecksum());
         }
     }
 }