mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Cleanup Crossroads & Hasher and dropped Signals
This commit is contained in:
parent
32c3f1f059
commit
b26586f2ba
8 changed files with 133 additions and 584 deletions
|
|
@ -314,8 +314,7 @@ export function startScreens(screensClasses) {
|
|||
const cross = new Crossroads();
|
||||
cross.addRoute(/^([a-zA-Z0-9-]*)\/?(.*)$/, screenOnRoute);
|
||||
|
||||
hasher.initialized.add(cross.parse, cross);
|
||||
hasher.changed.add(cross.parse, cross);
|
||||
hasher.changed.add(cross.parse.bind(cross));
|
||||
hasher.init();
|
||||
|
||||
setTimeout(() => $htmlCL.remove('rl-started-trigger'), 100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue