Extract Event clas to own file

This commit is contained in:
Kevin Sawicki 2016-06-16 09:51:54 -07:00
parent 7f9fa92e2d
commit 3aecb11094
4 changed files with 29 additions and 40 deletions

View file

@ -1,19 +1,5 @@
exports.onBeforeNavigate = {
addListener () {
const Event = require('./event')
},
exports.onBeforeNavigate = new Event()
removeListener () {
}
}
exports.onCompleted = {
addListener () {
},
removeListener () {
}
}
exports.onCompleted = new Event()