Fixed Netscript interpreter memory issues by breaking promise chains in while and for loops. Improved Stock Market UI. Added a button to kill script from log display box. Added confirm() Netscript function

This commit is contained in:
danielyxie
2017-11-02 16:47:09 -05:00
parent 52967d7f9d
commit bc6f0da677
15 changed files with 753 additions and 354 deletions
+13 -6
View File
@@ -73,8 +73,7 @@
padding: 10px;
}
.dialog-box-close-button,
#log-box-close {
.dialog-box-close-button {
float: right;
color: #aaa;
font-size: 20px;
@@ -89,13 +88,21 @@
#log-box-close {
position: fixed;
right: 26%;
right: 27%;
}
#log-box-kill-script {
right: 11%;
position: relative;
}
#log-box-close, #log-box-kill-script {
float:right;
display:inline-block;
}
.dialog-box-close-button:hover,
.dialog-box-close-button:focus,
#log-box-close:hover,
#log-box-close:focus {
.dialog-box-close-button:focus,{
color: white;
text-decoration: none;
cursor: pointer;