diff --git a/app/assembler.js b/app/assembler.js index 33ff326..04a49f5 100644 --- a/app/assembler.js +++ b/app/assembler.js @@ -8,6 +8,7 @@ * Released under the GNU General Public License * see http://gnu.org/licenses/gpl.html */ +/* eslint no-use-before-define: 0 */ // --> OFF 'use strict'; @@ -2435,24 +2436,21 @@ function SimulatorWidget(node) { pushByte((value >> 8) & 0xff); } - function openPopup(content, title) { - var w = window.open('', title, 'width=500,height=300,resizable=yes,scrollbars=yes,toolbar=no,location=no,menubar=no,status=no'); - - var html = "
"; - html += ""; - html += "";
-
- html += content;
-
- html += "
";
- w.document.write(html);
- w.document.close();
+ function openDiv(content, title) {
+ var w = document.querySelector('.banner');
+ var ele = document.createElement('div');
+ // var html = "";
+ // html += "";
+ // html += content;
+ // html += "