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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
5ef3e866
Commit
5ef3e866
authored
Sep 28, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make fixes to get tests passing.
parent
f80b8bd2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
app/assets/javascripts/LabelManager.js.es6
app/assets/javascripts/LabelManager.js.es6
+4
-3
app/assets/javascripts/blob/blob_ci_yaml.js.es6
app/assets/javascripts/blob/blob_ci_yaml.js.es6
+1
-1
app/assets/javascripts/blob/blob_license_selectors.js.es6
app/assets/javascripts/blob/blob_license_selectors.js.es6
+1
-1
app/assets/javascripts/blob_edit/edit_blob.js
app/assets/javascripts/blob_edit/edit_blob.js
+1
-1
app/assets/javascripts/todos.js.es6
app/assets/javascripts/todos.js.es6
+1
-1
No files found.
app/assets/javascripts/LabelManager.js.es6
View file @
5ef3e866
...
@@ -91,10 +91,11 @@
...
@@ -91,10 +91,11 @@
}
}
getSortedLabelsIds() {
getSortedLabelsIds() {
// TODO: Check that this works how you expect
const sortedIds = [];
return this.prioritizedLabels.find('li').map(function(item
) {
this.prioritizedLabels.find('li').each(function(
) {
return $(item).data('id'
);
sortedIds.push($(this).data('id')
);
});
});
return sortedIds;
}
}
}
}
...
...
app/assets/javascripts/blob/blob_ci_yaml.js.es6
View file @
5ef3e866
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
global.BlobCiYamlSelector = BlobCiYamlSelector;
global.BlobCiYamlSelector = BlobCiYamlSelector;
class BlobCiYamlSelectors {
class BlobCiYamlSelectors {
constructor({ editor, $dropdowns }) {
constructor({ editor, $dropdowns }
= {}
) {
this.editor = editor;
this.editor = editor;
this.$dropdowns = $dropdowns || $('.js-gitlab-ci-yml-selector');
this.$dropdowns = $dropdowns || $('.js-gitlab-ci-yml-selector');
this.initSelectors();
this.initSelectors();
...
...
app/assets/javascripts/blob/blob_license_selectors.js.es6
View file @
5ef3e866
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
constructor({ $dropdowns, editor }) {
constructor({ $dropdowns, editor }) {
this.$dropdowns = $('.js-license-selector');
this.$dropdowns = $('.js-license-selector');
this.editor = editor;
this.editor = editor;
this.$dropdowns.each((dropdown) => {
this.$dropdowns.each((
i,
dropdown) => {
const $dropdown = $(dropdown);
const $dropdown = $(dropdown);
return new BlobLicenseSelector({
return new BlobLicenseSelector({
editor,
editor,
...
...
app/assets/javascripts/blob_edit/edit_blob.js
View file @
5ef3e866
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
new
gl
.
BlobLicenseSelectors
({
new
gl
.
BlobLicenseSelectors
({
editor
:
this
.
editor
editor
:
this
.
editor
});
});
new
gl
.
BlobGitignoreSelectors
({
new
BlobGitignoreSelectors
({
editor
:
this
.
editor
editor
:
this
.
editor
});
});
new
gl
.
BlobCiYamlSelectors
({
new
gl
.
BlobCiYamlSelectors
({
...
...
app/assets/javascripts/todos.js.es6
View file @
5ef3e866
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
this.allDoneClicked = this.allDoneClicked.bind(this);
this.allDoneClicked = this.allDoneClicked.bind(this);
this.doneClicked = this.doneClicked.bind(this);
this.doneClicked = this.doneClicked.bind(this);
this.el = el || $('.js-todos-options');
this.el = el || $('.js-todos-options');
this.perPage = el.data('perPage');
this.perPage =
this.
el.data('perPage');
this.clearListeners();
this.clearListeners();
this.initBtnListeners();
this.initBtnListeners();
this.initFilters();
this.initFilters();
...
...
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