source/DomCssAndJavascriptByDanielGPwithCDN.php
private function setJavascriptFileCDNjQuery($jsFileName)
    {
        $jQueryPosition     = strpos($jsFileName, 'jquery-');
        $jQueryMajorVersion = substr($jsFileName, 7, 1);
        if (($jQueryPosition !== false) && is_numeric($jQueryMajorVersion) && (substr($jsFileName, -7) == '.min.js')) {
            return [
                true,
                $this->sCloundFlareUrl . 'jquery/' . $this->getCmpltVers($jsFileName, 'jquery-') . '/jquery.min.js',
                '<script>window.jQuery || document.write(\'<script src="' . $this->sanitizeString($jsFileName)
                . '">\x3C/script>\')</script>',
            ];
        }
        return null;
    }
private function setJavascriptFileCDNjQuery($jsFileName)
    {
        $jQueryPosition     = strpos($jsFileName, 'jquery-');
        $jQueryMajorVersion = substr($jsFileName, 7, 1);
        if (($jQueryPosition !== false) && is_numeric($jQueryMajorVersion) && (substr($jsFileName, -7) == '.min.js')) {
            return [
                true,
                $this->sCloundFlareUrl . 'jquery/' . $this->getCmpltVers($jsFileName, 'jquery-') . '/jquery.min.js',
                '<script>window.jQuery || document.write(\'<script src="' . $this->sanitizeString($jsFileName)
                . '">\x3C/script>\')</script>',
            ];
        }
        return null;
    }
private function setJavascriptFileCDNjQuery ( $ jsFileName ) { $ jQueryPosition = strpos ( $ jsFileName , 'jquery-' ) ; $ jQueryMajorVersion = substr ( $ jsFileName , 7 , 1 ) ; if ( ( $ jQueryPosition !== false ) && is_numeric ( $ jQueryMajorVersion ) && ( substr ( $ jsFileName , - 7 ) == '.min.js' ) ) { return [ true , $ this -> sCloundFlareUrl . 'jquery/' . $ this -> getCmpltVers ( $ jsFileName , 'jquery-' ) . '/jquery.min.js' , '<script>window.jQuery || document.write(\'<script src="' . $ this -> sanitizeString ( $ jsFileName ) . '">\x3C/script>\')</script>' , ] ; } return null ; }
Returns an array with CDN call of a known Javascript library
and fall-back line that points to local cache of it
specific for jQuery

@param string $jsFileName
@return array
Returns an array with CDN call of a known Javascript library and fall - back line that points to local cache of it specific for jQuery