19 lines
436 B
JavaScript
19 lines
436 B
JavaScript
/* eslint-disable arrow-parens, no-param-reassign, no-new, comma-dangle */
|
|
|
|
(global => {
|
|
global.gl = global.gl || {};
|
|
|
|
gl.ProtectedBranchEditList = class {
|
|
constructor() {
|
|
this.$wrap = $('.protected-branches-list');
|
|
|
|
// Build edit forms
|
|
this.$wrap.find('.js-protected-branch-edit-form').each((i, el) => {
|
|
new gl.ProtectedBranchEdit({
|
|
$wrap: $(el)
|
|
});
|
|
});
|
|
}
|
|
};
|
|
})(window);
|