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
4f0a1698
Commit
4f0a1698
authored
Nov 16, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint
Remove unused method
parent
7bab2791
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
app/assets/javascripts/environments/components/environment.js.es6
...ts/javascripts/environments/components/environment.js.es6
+4
-8
spec/javascripts/vue_common_components/commit_spec.js.es6
spec/javascripts/vue_common_components/commit_spec.js.es6
+0
-2
No files found.
app/assets/javascripts/environments/components/environment.js.es6
View file @
4f0a1698
...
@@ -76,6 +76,10 @@ $(() => {
...
@@ -76,6 +76,10 @@ $(() => {
},
},
},
},
/**
* Fetches all the environmnets and stores them.
* Toggles loading property.
*/
created() {
created() {
window.gl.environmentsService = new EnvironmentsService(this.endpoint);
window.gl.environmentsService = new EnvironmentsService(this.endpoint);
...
@@ -94,14 +98,6 @@ $(() => {
...
@@ -94,14 +98,6 @@ $(() => {
});
});
},
},
/**
* Fetches all the environmnets and stores them.
* Toggles loading property.
*/
mounted() {
},
/**
/**
* Transforms the url parameter into an object and
* Transforms the url parameter into an object and
* returns the one requested.
* returns the one requested.
...
...
spec/javascripts/vue_common_components/commit_spec.js.es6
View file @
4f0a1698
//= require vue_common_component/commit
//= require vue_common_component/commit
describe('Commit component', () => {
describe('Commit component', () => {
let props;
let props;
let component;
let component;
it('should render a code-fork icon if it does not represent a tag', () => {
it('should render a code-fork icon if it does not represent a tag', () => {
fixture.set('<div class="test-commit-container"></div>');
fixture.set('<div class="test-commit-container"></div>');
component = new window.gl.CommitComponent({
component = new window.gl.CommitComponent({
...
...
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