mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 23:33:12 +09:00
Fix global declaration of staticRoot and webRoot
These variables were intended to be globals declare in the global namespace. That this ends up on the window object is an implementation detail of JavaScript. Remove the window. prefix put in front of staticRoot and webRoot and include the global declaration in the TypeScript module.
This commit is contained in:
1 parent
9df6717364
commit
ceb7e48c99
14 files changed
+27
-23
No files matched your search
@@ -1,3 +1,4 @@
|
||||
/// <reference path="../global.d.ts" />
|
||||
export { default as bootstrap } from "./bootstrap";
|
||||
export { default as notify, notifyErrorHandler } from "./util/notify";
|
||||
export { default as BaseWebPlugin } from "./BaseWebPlugin";
|
||||
|
||||
Reference in new issue
Block a user