debian-mirror-gitlab/app/assets/javascripts/droplab/hook.js

23 lines
416 B
JavaScript
Raw Normal View History

2017-08-17 22:00:37 +05:30
/* eslint-disable */
import DropDown from './drop_down';
var Hook = function(trigger, list, plugins, config){
this.trigger = trigger;
this.list = new DropDown(list);
this.type = 'Hook';
this.event = 'click';
this.plugins = plugins || [];
this.config = config || {};
this.id = trigger.id;
};
Object.assign(Hook.prototype, {
addEvents: function(){},
constructor: Hook,
});
export default Hook;