/** * Note: If you want the functions in this file, you must queue it up. */ var ski = { path: { /** * Given a full path, this will return just the filename. */ get_filename: function( filename ) { var re = new RegExp( /([^\/\\]+)$/ ); var m = re.exec( filename ); if ( m == null ) { return null; } else { return m[0]; } } }, };