17 lines
362 B
JavaScript
17 lines
362 B
JavaScript
(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);
|