Bug Fixes

This commit is contained in:
Luis Fernando Molina committed 2020-02-09 16:35:17 +01:00
1 parent 82bc086e92
commit b1af6e078c
131 files changed
+8597 -1930

No files matched your search

+4 -3
View File
@@ -3,11 +3,12 @@ const { compose } = Composer
class BaseScene extends Composer {
constructor (id, options) {
const opts = Object.assign({
const opts = {
handlers: [],
enterHandlers: [],
leaveHandlers: []
}, options)
leaveHandlers: [],
...options
}
super(...opts.handlers)
this.id = id
this.options = opts