mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 08:05:19 +00:00
17 lines
367 B
JavaScript
17 lines
367 B
JavaScript
var should = require('should');
|
|
|
|
module.exports = {
|
|
hooks: {
|
|
'init': function() {
|
|
global._hooks = [];
|
|
global._hooks.push('init');
|
|
},
|
|
'finish': function() {
|
|
global._hooks.push('finish');
|
|
},
|
|
'finish:before': function() {
|
|
global._hooks.push('finish:before');
|
|
}
|
|
}
|
|
};
|