guvnor
Version:
A node process manager that isn't spanners all the way down
20 lines (18 loc) • 485 B
JavaScript
// base view for pages
var View = require('ampersand-view')
module.exports = View.extend({
// register keyboard handlers
registerKeyboardShortcuts: function () {
/*
var self = this
_.each(this.keyboardShortcuts, function (value, k) {
// register key handler scoped to this page
key(k, self.cid, _.bind(self[value], self))
})
key.setScope(this.cid)
*/
},
unregisterKeyboardShortcuts: function () {
// key.deleteScope(this.cid)
}
})