You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When recursively re-building the hierarchical structure of the uploaded files from the Map, we need to test if the current key is a file or a folder. For now, the way of testing is by checking wether the key has a dot in its name (for the file extension) ; a folder containing a dot in its name will cause trouble. Need to find a better way to test the type of the key.
Using typeof won't work, because it returns object in both cases (File and Map are objects).
When recursively re-building the hierarchical structure of the uploaded files from the Map, we need to test if the current key is a file or a folder. For now, the way of testing is by checking wether the key has a dot in its name (for the file extension) ; a folder containing a dot in its name will cause trouble. Need to find a better way to test the type of the key.
Using typeof won't work, because it returns object in both cases (File and Map are objects).
pwa-playlist-generator/app/js/app.js
Lines 98 to 123 in f8523cf
The text was updated successfully, but these errors were encountered: