- Refactoring: Ensure file-global tags are at beginning of file

This commit is contained in:
Brett Zamir
2019-12-31 16:31:28 +08:00
parent d9d4d94976
commit 7fc26e114d
15 changed files with 57 additions and 145 deletions

View File

@@ -1,8 +1,7 @@
// MIT License
// From: https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js
/**
* Adapted from {@link https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js}.
* @module importModule
* @license MIT
*/
/**
@@ -64,6 +63,7 @@ export async function importSetGlobal (url, {global: glob, returnDefault}) {
await importScript(url);
return window[glob];
}
/**
*
* @author Brett Zamir (other items are from `dynamic-import-polyfill`)