Moved scripts from .html files to seperate js .files (#191)
Let's hope everything works as before or better. Co-authored-by: Adam Bem <adam.bem@zoho.eu> Reviewed-on: #191 Reviewed-by: Mikolaj Widla <widlam@noreply.example.com>
This commit is contained in:
@@ -1,20 +1,5 @@
|
||||
const tools = new Map();
|
||||
|
||||
/**
|
||||
* This functions imports other js file. I hate this solution, but other didn't work.
|
||||
*
|
||||
* @function
|
||||
* @name importScript
|
||||
* @kind function
|
||||
* @param {any} url
|
||||
* @returns {void}
|
||||
*/
|
||||
function importScript(url) {
|
||||
var script = document.createElement("script");
|
||||
script.src = url;
|
||||
document.head.appendChild(script);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get address of Mock Services
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user