Unverified Commit d61b4058 authored by Luke Bennett's avatar Luke Bennett
Browse files

Review changes

parent 6f16726c
CHANGELOG merge=union
\ No newline at end of file
CHANGELOG merge=union
*.js.es6 gitlab-language=javascript
......@@ -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) {
return $.get(Api.buildUrl(Api.gitignorePath).replace(':key', key),
(gitignore) => {
let url = Api.buildUrl(Api.gitignorePath).replace(':key', key);
return $.get(url, (gitignore) => {
return callback(gitignore);
});
},
gitlabCiYml: function gitlabCiYml(key, callback) {
return $.get(Api.buildUrl(Api.gitlabCiYmlPath).replace(':key', key),
(file) => {
let url = Api.buildUrl(Api.gitlabCiYmlPath).replace(':key', key);
return $.get(url, (file) => {
return callback(file);
});
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment