72 lines
592 B
JavaScript
72 lines
592 B
JavaScript
|
|
|
|
|
|
|
|
|
|
|
|
import files from "../launcher.js";
|
|
|
|
|
|
|
|
var fileManager = new files();
|
|
|
|
|
|
|
|
|
|
|
|
export default class nodeEditor{
|
|
|
|
__className = "nodeEditor";
|
|
|
|
__sourcePath = "./framework/server/cachedControllers/nodeEditorController.js";
|
|
|
|
__public = "";
|
|
|
|
|
|
|
|
|
|
getProject( object, client, eventName ) {
|
|
|
|
|
|
|
|
console.log("get project");
|
|
|
|
|
|
|
|
console.log("readdir");
|
|
|
|
|
|
|
|
fileManager.findApplicationFiles("./application/test_project/");
|
|
|
|
|
|
|
|
var output = new Object();
|
|
|
|
|
|
|
|
output.files = fileManager.applicationURLArray;
|
|
|
|
|
|
|
|
|
|
|
|
return fileManager.applicationURLArray;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|