1
0
forked from circlecloud/tera

feat: sync system code

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-07-13 14:33:59 +08:00
parent e693bab5a7
commit b8239f6da9
8 changed files with 427 additions and 277 deletions

View File

@@ -9,7 +9,7 @@
*/
"use strict";
class DApp {
export default class DApp {
constructor() {
}
Name() {
@@ -69,19 +69,5 @@ declare global {
}
}
}
// function ReqDir(Path) {
// if (fs.existsSync(Path)) {
// var arr = fs.readdirSync(Path);
// for (var i = 0; i < arr.length; i++) {
// var name = arr[i];
// global.ToLog("Reg: " + name);
// var name2 = Path + "/" + arr[i];
// require(name2);
// }
// }
// };
global.DApps = {};
global.DAppByType = {};
export default DApp;