public function js($name){

        $content = $this->dumpAssetsToString('js', $name);

        $response = new Response(
            $content, 200, array(
                'Content-Type' => 'text/javascript',
            )
        );

        return $this->cacheResponse($response);
    }
public function js($name){

        $content = $this->dumpAssetsToString('js', $name);

        $response = new Response(
            $content, 200, array(
                'Content-Type' => 'text/javascript',
            )
        );

        return $this->cacheResponse($response);
    }
public function js ( $ name ) { $ content = $ this -> dumpAssetsToString ( 'js' , $ name ) ; $ response = new Response ( $ content , 200 , array ( 'Content-Type' => 'text/javascript' , ) ) ; return $ this -> cacheResponse ( $ response ) ; }
Return the javascript for the PhpGit

@return \Symfony\Component\HttpFoundation\Response
Return the javascript for the PhpGit