public function registerClientLib()
    {
        $jsPath = trim(Template::js('', $this->extension->getId()), '/');
        ClientLibRegistry::getRegistry()->register($this->extension->getId(), $jsPath);

        $cssPath = trim(Template::css('', $this->extension->getId()), '/');
        ClientLibRegistry::getRegistry()->register($this->extension->getId().'Css', $cssPath);
    }
public function registerClientLib()
    {
        $jsPath = trim(Template::js('', $this->extension->getId()), '/');
        ClientLibRegistry::getRegistry()->register($this->extension->getId(), $jsPath);

        $cssPath = trim(Template::css('', $this->extension->getId()), '/');
        ClientLibRegistry::getRegistry()->register($this->extension->getId().'Css', $cssPath);
    }
public function registerClientLib ( ) { $ jsPath = trim ( Template :: js ( '' , $ this -> extension -> getId ( ) ) , '/' ) ; ClientLibRegistry :: getRegistry ( ) -> register ( $ this -> extension -> getId ( ) , $ jsPath ) ; $ cssPath = trim ( Template :: css ( '' , $ this -> extension -> getId ( ) ) , '/' ) ; ClientLibRegistry :: getRegistry ( ) -> register ( $ this -> extension -> getId ( ) . 'Css' , $ cssPath ) ; }
Extension may declare client lib to add alias into requireJs

@author Lionel Lecaque, lionel@taotesting.com
Extension may declare client lib to add alias into requireJs