packages/cdp-lazyload/src/scripts/cdp.lazyload.js
function _getExtension(file) {
        var ret;
        if (file) {
            var fileTypes = file.split(".");
            var len = fileTypes.length;
            if (0 === len) {
                return ret;
            }
            ret = fileTypes[len - 1];
            return ret;
        }
    }
function _getExtension(file) {
        var ret;
        if (file) {
            var fileTypes = file.split(".");
            var len = fileTypes.length;
            if (0 === len) {
                return ret;
            }
            ret = fileTypes[len - 1];
            return ret;
        }
    }
function _getExtension ( file ) { var ret ; if ( file ) { var fileTypes = file . split ( "." ) ; var len = fileTypes . length ; if ( 0 === len ) { return ret ; } ret = fileTypes [ len - 1 ] ; return ret ; } }
\~english
Get file extension by file name.

@private
@param  file {String} [in] file path / file name
@return {String} file extension

\~japanese
ファイル名から拡張子を取得

@private
@param  file {String} [in] file path / file name
@return {String} file extension
\ ~english Get file extension by file name .