Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c0ae914f
Commit
c0ae914f
authored
Aug 19, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use PascalCase for JS classes
parent
4734a8e0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
app/assets/javascripts/allowed_to_merge_dropdown.js.es6
app/assets/javascripts/allowed_to_merge_dropdown.js.es6
+2
-2
app/assets/javascripts/allowed_to_push_dropdown.js.es6
app/assets/javascripts/allowed_to_push_dropdown.js.es6
+2
-2
app/assets/javascripts/protected_branch_create.js.es6
app/assets/javascripts/protected_branch_create.js.es6
+2
-2
app/assets/javascripts/protected_branch_edit.js.es6
app/assets/javascripts/protected_branch_edit.js.es6
+2
-2
No files found.
app/assets/javascripts/allowed_to_merge_dropdown.js.es6
View file @
c0ae914f
...
...
@@ -3,7 +3,7 @@
(global => {
global.gl = global.gl || {};
class
a
llowedToMergeDropdown extends gl.ProtectedBranchAccessDropdown {
class
A
llowedToMergeDropdown extends gl.ProtectedBranchAccessDropdown {
fieldName(selectedItem) {
let fieldName = '';
let typeToName = {
...
...
@@ -43,6 +43,6 @@
}
}
global.gl.
allowedToMergeDropdown = a
llowedToMergeDropdown;
global.gl.
AllowedToMergeDropdown = A
llowedToMergeDropdown;
})(window);
app/assets/javascripts/allowed_to_push_dropdown.js.es6
View file @
c0ae914f
...
...
@@ -3,7 +3,7 @@
(global => {
global.gl = global.gl || {};
class
a
llowedToPushDropdown extends gl.ProtectedBranchAccessDropdown {
class
A
llowedToPushDropdown extends gl.ProtectedBranchAccessDropdown {
fieldName(selectedItem) {
let fieldName = '';
let typeToName = {
...
...
@@ -43,6 +43,6 @@
}
}
global.gl.
allowedToPushDropdown = a
llowedToPushDropdown;
global.gl.
AllowedToPushDropdown = A
llowedToPushDropdown;
})(window);
app/assets/javascripts/protected_branch_create.js.es6
View file @
c0ae914f
...
...
@@ -15,14 +15,14 @@
this.onSelectCallback = this.onSelect.bind(this);
// Allowed to Merge dropdown
new gl.
a
llowedToMergeDropdown({
new gl.
A
llowedToMergeDropdown({
$dropdown: $allowedToMergeDropdown,
accessLevelsData: gon.merge_access_levels,
onSelect: this.onSelectCallback
});
// Allowed to Push dropdown
new gl.
a
llowedToPushDropdown({
new gl.
A
llowedToPushDropdown({
$dropdown: $allowedToPushDropdown,
accessLevelsData: gon.push_access_levels,
onSelect: this.onSelectCallback
...
...
app/assets/javascripts/protected_branch_edit.js.es6
View file @
c0ae914f
...
...
@@ -33,7 +33,7 @@
buildDropdowns() {
// Allowed to merge dropdown
new gl.
a
llowedToMergeDropdown({
new gl.
A
llowedToMergeDropdown({
accessLevel: ACCESS_LEVELS.MERGE,
accessLevelsData: gon.merge_access_levels,
$dropdown: this.$allowedToMergeDropdown,
...
...
@@ -42,7 +42,7 @@
});
// Allowed to push dropdown
new gl.
a
llowedToPushDropdown({
new gl.
A
llowedToPushDropdown({
accessLevel: ACCESS_LEVELS.PUSH,
accessLevelsData: gon.push_access_levels,
$dropdown: this.$allowedToPushDropdown,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment