Skip to content

Instantly share code, notes, and snippets.

View victor-homyakov's full-sized avatar

Victor Homyakov victor-homyakov

View GitHub Profile
// name: Remove To Do Planned and Done from column headings
// placeholder: restui_board
tau.mashups
.addDependency('tau/core/bus.reg')
.addModule('BusListeners', function(reg){
function Listener(bus, event, func){
this.bus = bus
this.event = event
transition: function (method, startEvent, completeEvent) {
var that = this
, complete = function (e) {
if (this.transitioning) {
if (e.type == 'show') this.reset()
this.transitioning = 0
this.$element.trigger(completeEvent)
}
}