src/browser/with-api/loader.js
/**
         * Calculate base length of URL
         *
         * Returns:
         *  length of url without icons for valid urls
         *  null if url does not include icons list (loading entire collection)
         *  false if url is a callback (no length limits, its up to callback to split url)
         *
         * @param {string} prefix
         * @return {number|null|false}
         */
Calculate base length of URL
Returns:
length of url without icons for valid urls
null if url does not include icons list (loading entire collection)
false if url is a callback (no length limits, its up to callback to split url)

@param {string} prefix
@return {number|null|false}
Calculate base length of URL Returns : length of url without icons for valid urls null if url does not include icons list ( loading entire collection ) false if url is a callback ( no length limits its up to callback to split url ) @param { string } prefix @return { number|null|false }
function baseLength(prefix) {
            var url = config.API[prefix] === void 0 ? config.defaultAPI : config.API[prefix];
            if (typeof url === 'function') {
                urls[prefix] = url;
                return false;
            }
            if (url.indexOf('{icons}') === -1) {
                urls[prefix] = url;
                return null;
            }
            url = url.replace('{prefix}', prefix).replace('{callback}', 'Iconify._loaderCallback');
            urls[prefix] = url;
            return url.replace('{icons}', '').length;
        }
function baseLength ( prefix ) { var url = config . API [ prefix ] === void 0 ? config . defaultAPI : config . API [ prefix ] ; if ( typeof url === 'function' ) { urls [ prefix ] = url ; return false ; } if ( url . indexOf ( '{icons}' ) === - 1 ) { urls [ prefix ] = url ; return null ; } url = url . replace ( '{prefix}' , prefix ) . replace ( '{callback}' , 'Iconify._loaderCallback' ) ; urls [ prefix ] = url ; return url . replace ( '{icons}' , '' ) . length ; }
Calculate base length of URL
 Returns:
  length of url without icons for valid urls
  null if url does not include icons list (loading entire collection)
  false if url is a callback (no length limits, its up to callback to split url)
Calculate base length of URL Returns : length of url without icons for valid urls null if url does not include icons list ( loading entire collection ) false if url is a callback ( no length limits its up to callback to split url )