Commit 52976bbf authored by Alfredo Sumaran's avatar Alfredo Sumaran

Fix conflicts on spec/features/protected_branches_spec.rb

parent dcd092d5
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
}); });
// Protected branch dropdown // Protected branch dropdown
new gl.ProtectedBranchDropdown({ new window.ProtectedBranchDropdown({
$dropdown: this.$wrap.find('.js-protected-branch-select'), $dropdown: this.$wrap.find('.js-protected-branch-select'),
onSelect: this.onSelectCallback onSelect: this.onSelectCallback
}); });
......
/* eslint-disable */ /* eslint-disable comma-dangle, no-unused-vars */
(global => {
global.gl = global.gl || {};
class ProtectedBranchDropdown { class ProtectedBranchDropdown {
constructor(options) { constructor(options) {
this.onSelect = options.onSelect; this.onSelect = options.onSelect;
this.$dropdown = options.$dropdown; this.$dropdown = options.$dropdown;
...@@ -77,13 +75,6 @@ ...@@ -77,13 +75,6 @@
this.$dropdownFooter.toggleClass('hidden', !branchName); this.$dropdownFooter.toggleClass('hidden', !branchName);
} }
}
<<<<<<< HEAD
global.gl.ProtectedBranchDropdown = ProtectedBranchDropdown;
})(window);
=======
} }
window.ProtectedBranchDropdown = ProtectedBranchDropdown; window.ProtectedBranchDropdown = ProtectedBranchDropdown;
>>>>>>> 714f70a38df10e678bffde6e6081a97e31d8317c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment