Browse Source

_ready_event is now global

sisyphus
JezerM 4 years ago
parent
commit
4d9afa80ca
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 8
      themes/_vendor/js/mock.js

8
themes/_vendor/js/mock.js vendored

@ -793,8 +793,8 @@ class ThemeUtils {
return context;
}
dirlist() {
return []
dirlist(path, noDir, callback) {
callback([])
}
/**
@ -861,8 +861,8 @@ new ThemeUtils();
new GreeterConfig();
new Greeter();
const GreeterReady = new Event("GreeterReady")
window._ready_event = new Event("GreeterReady")
setTimeout(() => {
window.dispatchEvent(GreeterReady)
window.dispatchEvent(_ready_event)
}, 1000)

Loading…
Cancel
Save