Quellcode durchsuchen

移除全局对象

gaoshuaixing vor 4 Jahren
Ursprung
Commit
597fd8c6cb
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. 0 2
      app.js

+ 0 - 2
app.js

@@ -7,8 +7,6 @@
 class AppBootHook {
   constructor(app) {
     this.app = app;
-    global.OS_PLATFORM = process.platform;
-    global.IS_WIN = /^win/.test(process.platform);
   }
 
   configWillLoad() {