Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gpt
large_projects
gitlabhq1
Commits
d61b4058
Unverified
Commit
d61b4058
authored
8 years ago
by
Luke Bennett
Browse files
Options
Download
Email Patches
Plain Diff
Review changes
parent
6f16726c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
.gitattributes
.gitattributes
+2
-1
app/assets/javascripts/api.js.es6
app/assets/javascripts/api.js.es6
+5
-5
No files found.
.gitattributes
View file @
d61b4058
CHANGELOG merge=union
\ No newline at end of file
CHANGELOG merge=union
*.js.es6 gitlab-language=javascript
This diff is collapsed.
Click to expand it.
app/assets/javascripts/api.js.es6
View file @
d61b4058
...
...
@@ -19,7 +19,7 @@
private_token: gon.api_token
}
}).done((group) => {
return callback(group);
return callback(group);
});
},
...
...
@@ -105,15 +105,15 @@
},
gitignoreText: function gitignoreText(key, callback) {
r
etur
n $.get(
Api.buildUrl(Api.gitignorePath).replace(':key', key)
,
(gitignore) => {
l
et
ur
l =
Api.buildUrl(Api.gitignorePath).replace(':key', key)
;
return $.get(url,
(gitignore) => {
return callback(gitignore);
});
},
gitlabCiYml: function gitlabCiYml(key, callback) {
r
etur
n $.get(
Api.buildUrl(Api.gitlabCiYmlPath).replace(':key', key)
,
(file) => {
l
et
ur
l =
Api.buildUrl(Api.gitlabCiYmlPath).replace(':key', key)
;
return $.get(url,
(file) => {
return callback(file);
});
},
...
...
This diff is collapsed.
Click to expand it.
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