1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-18 23:07:45 +02:00

Applied prettier to code base

This commit is contained in:
Laurent Cozic
2018-03-09 17:49:35 +00:00
parent e868102c98
commit c4f19465a6
203 changed files with 13395 additions and 7927 deletions

View File

@ -1,5 +1,4 @@
class NavService {
static async go(routeName) {
if (this.handlers_.length) {
let r = await this.handlers_[this.handlers_.length - 1]();
@ -7,9 +6,9 @@ class NavService {
}
this.dispatch({
type: 'NAV_GO',
type: "NAV_GO",
routeName: routeName,
});
});
}
static addHandler(handler) {
@ -27,9 +26,8 @@ class NavService {
if (h === hanlder) this.handlers_.splice(i, 1);
}
}
}
NavService.handlers_ = [];
module.exports = NavService;
module.exports = NavService;