Removed unused code
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
|
||||
*
|
||||
|
||||
@@ -3,19 +3,6 @@ const mergeHTMLPlugin = (function () {
|
||||
|
||||
var originalStream;
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @returns {string}
|
||||
*/
|
||||
function escapeHTML(value) {
|
||||
return value
|
||||
.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, ''');
|
||||
}
|
||||
|
||||
/* plugin itself */
|
||||
|
||||
/** @type {HLJSPlugin} */
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user