"use strict"; //const { prototype } = require("../../../../Scripts/jquery-3.4.1.slim"); function class_array() { return; //returnScriptObjs(); } function returnScriptObjs() { return; /* var scripts = null; var s = null; var has_src = null; let js_data = ""; var dataNode = null; scripts = document.getElementsByTagName("script"); for (i = 0; i < scripts.length; i++) { s = scripts[i].getAttribute("data-name"); if (s === "javascript") { //js_data = js_data + get_URI(scripts[i].src); } } //dataNode = new Node(); //dataNode.nodeValue = js_data; //return dataNode; */ } /* class AllClasses { constructor() { } } */ var TextEditor = class { random_id = new RandomNumber().getNumber; constructor() { } name = this.constructor.name + "_" + this.random_id; randomID = this.random_id; menu = this.create_menu_strip(this.random_id); textBox = this.create_text_box(this.random_id); create_menu_strip() { var menubar = null; menubar = document.createElement("div"); menubar.style.backgroundColor = "#b8bcb9"; menubar.style.borderStyle = "solid"; menubar.style.borderWidth = "1px"; menubar.style.borderBottomColor = "#424344"; menubar.style.height = "32px"; menubar.style.width = "100%"; menubar.style.position = "relative"; menubar.style.top = "0"; menubar.style.left = "0"; menubar.style.color = "#222222"; menubar.style.fontFamily = "Microsoft Sans Serif, Arial, Verdana"; menubar.style.fontSize = "10pt"; menubar.style.fontWeight = "500"; menubar.innerText = "New   Save  "; menubar.setAttribute("id", "menubar_" + this.random_id); return menubar; } create_text_box() { var id = null; id = "text_box_" + this.random_id; var txtBox = document.getElementById(id); if (txtBox !== null) { } else { txtBox = document.createElement("textarea"); txtBox.setAttribute("id", id); txtBox.style.position = "relative"; txtBox.style.width = "100%"; txtBox.style.height = "100%"; txtBox.style.top = "0"; txtBox.style.left = "0"; } return txtBox; } } //end class var RandomNumber = class { constructor() { } className = this.constructor.name; getNumber = this.random_number(); random_number() { var num = null; num = Math.floor(Math.random() * 100000000000) + 100000000000; num = num.toString(); return num; } } /* var te = new TextEditor(); var txtBx = te.textBox; var mnu = te.menu; document.body.appendChild(txtBx); txtBx.appendChild(mnu); */