added support for config editor; refactored the EditorPage.js file
This commit is contained in:
1 parent
1491c2b93e
commit
780d6e8540
9 files changed
+278
-475
No files matched your search
@@ -1651,7 +1651,6 @@ exports.newHttpInterface = function newHttpInterface() {
|
||||
SA.projects.foundations.utilities.httpResponses.respondWithFont(global.env.PATH_TO_PLATFORM + '/WebServer/externalScripts/' + fullPath, httpResponse)
|
||||
break
|
||||
default:
|
||||
console.log("Default file")
|
||||
SA.projects.foundations.utilities.httpResponses.respondWithFile(global.env.PATH_TO_PLATFORM + '/WebServer/externalScripts/' + fullPath, httpResponse)
|
||||
}
|
||||
|
||||
|
||||
@@ -261,6 +261,11 @@ let CURRENT_PANORAMA_POSITION = 0
|
||||
|
||||
let CAN_SPACES_DRAW = false // This global variable regulates when spaces can or can not draw their contents.
|
||||
|
||||
const codeEditorType = {
|
||||
CODE: "code",
|
||||
CONFIG: "config"
|
||||
}
|
||||
|
||||
function toRadians(angle) {
|
||||
return angle * (Math.PI / 180);
|
||||
}
|
||||
Reference in new issue
Block a user