Example #1
0
 protected function getCache(array $aFiles, $aContent)
 {
     if ($aImports = $this->aImports) {
         array_unshift($aContent, implode("\n", $aImports));
     }
     return parent::getCache($aFiles, $aContent);
 }
Example #2
0
 protected function readFile(fs\file $file)
 {
     $bDebug = $this->getFusion() ? $this->getFusion()->read('debug') : false;
     return "// {$file->asToken()}\n\n" . ($bDebug ? "console.log('load : {$file}');" . parent::readFile($file) : parent::readFile($file));
 }