update jsdoc

This commit is contained in:
josephsmendoza
2022-12-17 04:26:49 +00:00
parent 4b923b0b88
commit 82ded5004a
3 changed files with 65 additions and 12 deletions
+1
View File
@@ -4,6 +4,7 @@
* Loads a data url and returns the resulting element, font face, or when the type is unrecognized, a fetch response.
* @param {String} dataURL
* @param {String} id
* @param {Boolean} unsafe load assets directly into the DOM
*/
export async function loadAsset(dataURL,id=undefined,unsafe=false){
const type=dataURL.split(';')[0].split(':')[1]