Added ESLint and Prettier.

This commit is contained in:
2019-07-16 13:54:04 +02:00
parent 1f5df65c48
commit 87b63c2142
6 changed files with 966 additions and 41 deletions
+8 -5
View File
@@ -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]
}