merge dev

This commit is contained in:
Olivier Gagnon
2021-12-03 15:35:45 -05:00
472 changed files with 8880 additions and 1304 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ export class Script {
* Download the script as a file
*/
download(): void {
const filename = this.filename + ".js";
const filename = this.filename;
const file = new Blob([this.code], { type: "text/plain" });
const navigator = window.navigator as any;
if (navigator.msSaveOrOpenBlob) {
+1 -1
View File
@@ -87,7 +87,7 @@ export function scriptCalculateOfflineProduction(runningScript: RunningScript):
//designated server, and false otherwise
export function findRunningScript(
filename: string,
args: (string | number)[],
args: (string | number | boolean)[],
server: BaseServer,
): RunningScript | null {
for (let i = 0; i < server.runningScripts.length; ++i) {