Welcome to mirror list, hosted at ThFree Co, Russian Federation.

hook.js « droplab « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8a8dcde9f88f249dd9a5a7ce7f8500fa4bd9f65c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import DropDown from './drop_down';

class Hook {
  constructor(trigger, list, plugins, config) {
    this.trigger = trigger;
    this.list = new DropDown(list, config);
    this.type = 'Hook';
    this.event = 'click';
    this.plugins = plugins || [];
    this.config = config || {};
    this.id = trigger.id;
  }
}

export default Hook;