2016-08-05 06:57:53 +00:00
|
|
|
|
(global => {
|
|
|
|
|
global.gl = global.gl || {};
|
2016-08-03 21:45:38 +00:00
|
|
|
|
|
2016-08-05 06:57:53 +00:00
|
|
|
|
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)
|
|
|
|
|
});
|
2016-08-03 21:45:38 +00:00
|
|
|
|
});
|
2016-08-05 06:57:53 +00:00
|
|
|
|
}
|
2016-08-03 21:45:38 +00:00
|
|
|
|
}
|
2016-08-05 06:57:53 +00:00
|
|
|
|
|
|
|
|
|
})(window);
|