Prettified all files.

This commit is contained in:
2019-07-18 12:26:39 +02:00
parent 7744b92771
commit 2d400a18ec
125 changed files with 11184 additions and 8154 deletions
+6 -7
View File
@@ -7,11 +7,10 @@ export default class Interface {
static implementationError(klass) {
let interfaceKeys = Reflect.ownKeys(this.prototype)
let classKeys = Reflect.ownKeys(klass.prototype)
for(let key of interfaceKeys) {
for (let key of interfaceKeys) {
let interfaceDesc = this.prototype[key]
let classDesc = klass.prototype[key]
if (typeof(classDesc) == 'undefined')
return 'Missing ' + key
if (typeof classDesc == 'undefined') return 'Missing ' + key
}
return null
}
@@ -23,8 +22,8 @@ export default class Interface {
return error == null
}
// TODO: Specify optional methods
// static optionalMethods() {
// return [this.onMouseWheel]
// }
// TODO: Specify optional methods
// static optionalMethods() {
// return [this.onMouseWheel]
// }
}