rendered paste bodyvar Workflow = new Class({
options: {},
initialize: function(el, options) {
this.setOptions(options);
this.container = $(el);
console.log('created new workflow object');
this.addEvents({
'drop': this.drop,
'over': this.over,
'leave': this.leave
});
},
drop: function() {
console.log('drop event handler called');
},
over: function() {
console.log('over event handler called');
},
leave: function() {
console.log('leave event handler called');
}
});
Workflow.implement(new Events, new Options);