kernel/lib/Asset.php
public function javascripts() : array {
	    
	    $sDefaultPath = 'http://'.$_SERVER['HTTP_HOST'].'/getJs?';
	    $aJavascript = func_get_args();
	    $aReturns = array();
	    
	    foreach($aJavascript as $aJsCombination) {
	        
	        $sJsPath = $sDefaultPath;
	        
	        foreach ($aJsCombination as $sJsToAdd) {
	            
	            $sJsPath = $sJsToAdd.'&';
	        }
	    
    	    if (defined('ASSET_VERSION') && ASSET_VERSION) {
    	        
    	        $sJsPath = ASSET_VERSION;
    	    }
	        
	        $aReturns[] = $sJsPath;
	    }
	    
	    return $aReturns;
	}
public function javascripts() : array {
	    
	    $sDefaultPath = 'http://'.$_SERVER['HTTP_HOST'].'/getJs?';
	    $aJavascript = func_get_args();
	    $aReturns = array();
	    
	    foreach($aJavascript as $aJsCombination) {
	        
	        $sJsPath = $sDefaultPath;
	        
	        foreach ($aJsCombination as $sJsToAdd) {
	            
	            $sJsPath = $sJsToAdd.'&';
	        }
	    
    	    if (defined('ASSET_VERSION') && ASSET_VERSION) {
    	        
    	        $sJsPath = ASSET_VERSION;
    	    }
	        
	        $aReturns[] = $sJsPath;
	    }
	    
	    return $aReturns;
	}
public function javascripts ( ) : array { $ sDefaultPath = 'http://' . $ _SERVER [ 'HTTP_HOST' ] . '/getJs?' ; $ aJavascript = func_get_args ( ) ; $ aReturns = array ( ) ; foreach ( $ aJavascript as $ aJsCombination ) { $ sJsPath = $ sDefaultPath ; foreach ( $ aJsCombination as $ sJsToAdd ) { $ sJsPath = $ sJsToAdd . '&' ; } if ( defined ( 'ASSET_VERSION' ) && ASSET_VERSION ) { $ sJsPath = ASSET_VERSION ; } $ aReturns [ ] = $ sJsPath ; } return $ aReturns ; }
get URL of your javascripts

@access public
@return array
@internal param array $aJavascript [many can be passed]
get URL of your javascripts