Added ESLint and Prettier.
This commit is contained in:
+8
-5
@@ -9,16 +9,20 @@ export class IApp extends Interface {
|
||||
/** Build the app by registering event handlers,
|
||||
* adding DOM elements, instanciating templates, etc...
|
||||
*/
|
||||
setup() { return this }
|
||||
setup() {
|
||||
return this
|
||||
}
|
||||
|
||||
/** Run the application by starting a main loop, ...
|
||||
*/
|
||||
run() { return this }
|
||||
run() {
|
||||
return this
|
||||
}
|
||||
}
|
||||
|
||||
export default class App extends Object {
|
||||
/** Override this method to build your app.
|
||||
*/
|
||||
*/
|
||||
setup() {
|
||||
return this
|
||||
}
|
||||
@@ -48,8 +52,7 @@ export default class App extends Object {
|
||||
this.allTests()
|
||||
var end = performance.now()
|
||||
return ['ok', end - start]
|
||||
}
|
||||
catch(e) {
|
||||
} catch (e) {
|
||||
console.trace()
|
||||
return ['Tests failed', e.message]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user