edit empty function for platform consistency

This commit is contained in:
Shelley Vohr 2017-11-16 08:40:49 -05:00
parent f5c04c7037
commit 75a117e4e2
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -40,7 +40,7 @@ class CallbacksRegistry {
}
get (id) {
return this.callbacks[id] != null ? this.callbacks[id] : () => {}
return this.callbacks[id] != null ? this.callbacks[id] : function () {}
}
apply (id, ...args) {