v0.28.4 - Bug fixes, getScriptIncome(), syntax highlighting for regular Netscript functions,

This commit is contained in:
danielyxie
2017-09-11 18:14:51 -05:00
parent 68fcc12ac8
commit 024546b4f1
12 changed files with 1060 additions and 889 deletions

View File

@@ -60,7 +60,7 @@ function longestCommonStart(strings) {
var A = strings.concat().sort(),
a1= A[0], a2= A[A.length-1], L= a1.length, i= 0;
while(i<L && a1.charAt(i)=== a2.charAt(i)) i++;
while(i<L && a1.charAt(i).toLowerCase() === a2.charAt(i).toLowerCase()) i++;
return a1.substring(0, i);
}