Add linting rules
This commit is contained in:
1 parent
75a5a42296
commit
c702003c32
43 files changed
+705
-576
No files matched your search
+2
-2
@@ -51,14 +51,14 @@ function pagify(pageName, page) {
|
||||
if (!page.init) {
|
||||
state = null;
|
||||
fulfill();
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Promise(resolve => {
|
||||
page
|
||||
.init(args)
|
||||
.then(st => {
|
||||
if (!st) return m.route.set("/");
|
||||
if (!st) return void m.route.set("/");
|
||||
state = st;
|
||||
resolve();
|
||||
fulfill();
|
||||
|
||||
Reference in new issue
Block a user