diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-12-14 09:51:53 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-12-14 21:07:54 +0300 |
commit | aac4aa10949b89278ea40dcfb2b45ded1f24f167 (patch) | |
tree | 10575f7d35d78e6899369270d970c4c4e19c238f /app/assets/javascripts/protected_branches | |
parent | b70b962892b2428557d95a9639fbcead4fe546fd (diff) |
ensure classes declared outside an IIFE are properties of window
Diffstat (limited to 'app/assets/javascripts/protected_branches')
-rw-r--r-- | app/assets/javascripts/protected_branches/protected_branch_dropdown.js.es6 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/protected_branches/protected_branch_dropdown.js.es6 b/app/assets/javascripts/protected_branches/protected_branch_dropdown.js.es6 index e3f226e9a2a..5a928631a93 100644 --- a/app/assets/javascripts/protected_branches/protected_branch_dropdown.js.es6 +++ b/app/assets/javascripts/protected_branches/protected_branch_dropdown.js.es6 @@ -75,3 +75,5 @@ class ProtectedBranchDropdown { this.$dropdownFooter.toggleClass('hidden', !branchName); } } + +window.ProtectedBranchDropdown = ProtectedBranchDropdown; |