Removed unused code

This commit is contained in:
2023-05-15 11:10:34 +02:00
parent 93ddee7c2b
commit 52c1620552
3 changed files with 0 additions and 29 deletions

View File

@@ -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
*

View File

@@ -3,19 +3,6 @@ const mergeHTMLPlugin = (function () {
var originalStream;
/**
* @param {string} value
* @returns {string}
*/
function escapeHTML(value) {
return value
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/"/g, '&quot;')
.replace(/'/g, '&#x27;');
}
/* plugin itself */
/** @type {HLJSPlugin} */

View File

@@ -102,7 +102,6 @@ for (i = 0; i < triggerList.length; i++) {
}
function init() {
//importScript("../assets/scripts/tools/scripts.js");
// Make sure that only plain text is pasted
configurePastingInElement("xmlArea");