mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-04 07:55:28 +00:00
Export the same name as the file
This commit is contained in:
parent
2e9d281848
commit
3a02258d81
1 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ const defaultPlaylistStyle = {
|
|||
};
|
||||
|
||||
// A promise that, given a File object, returns a skin style object
|
||||
async function parseSkin(zipFile) {
|
||||
async function skinParser(zipFile) {
|
||||
const buffer = await genBufferFromFile(zipFile);
|
||||
const zip = await JSZip.loadAsync(buffer);
|
||||
const imageObjs = await Promise.all(
|
||||
|
|
@ -115,4 +115,4 @@ async function parseSkin(zipFile) {
|
|||
return { colors, playlistStyle, images };
|
||||
}
|
||||
|
||||
export default parseSkin;
|
||||
export default skinParser;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue