You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
281 B
17 lines
281 B
2 years ago
|
import metro from "./api/metro"
|
||
|
|
||
|
window.demon = {
|
||
|
modules: {
|
||
|
common: {
|
||
|
Logger: metro.findByProps("setLogFn").exports.default
|
||
|
},
|
||
|
metro
|
||
|
}
|
||
|
}
|
||
|
|
||
|
try {
|
||
|
log = new demon.modules.common.Logger()
|
||
|
log.name = "Demoncord"
|
||
|
log.log("Hi from the bundle :)")
|
||
|
} catch (e) {alert(e.stack)}
|