dist/excalibur-pack.js
/**
                 * Whether or not a given filename ends with any of the provided extensions (without a '.')
                 */
Whether or not a given filename ends with any of the provided extensions (without a '.')
Whether or not a given filename ends with any of the provided extensions ( without a ' . ' )
function hasFileExtensions(filename) {
                    var extensions = [];
                    for (var _i = 1; _i < arguments.length; _i++) {
                        extensions[_i - 1] = arguments[_i];
                    }
                    var paths = filename.split('/');
                    var file = paths[paths.length - 1];
                    var parts = file.split('.');
                    var extension = parts[parts.length - 1];
                    return extensions.indexOf(extension) > -1;
                }
function hasFileExtensions ( filename ) { var extensions = [ ] ; for ( var _i = 1 ; _i < arguments . length ; _i ++ ) { extensions [ _i - 1 ] = arguments [ _i ] ; } var paths = filename . split ( '/' ) ; var file = paths [ paths . length - 1 ] ; var parts = file . split ( '.' ) ; var extension = parts [ parts . length - 1 ] ; return extensions . indexOf ( extension ) > - 1 ; }
Whether or not a given filename ends with any of the provided extensions (without a '.')
Whether or not a given filename ends with any of the provided extensions ( without a ' . ' )