protected function getCache(array $aFiles, $aContent) { if ($aImports = $this->aImports) { array_unshift($aContent, implode("\n", $aImports)); } return parent::getCache($aFiles, $aContent); }
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)); }