summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-06-16 15:33:11 +0200
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-20 14:48:28 -0500
commit483dc62eaac0e11717b5b103317c4441ec0ff23d (patch)
tree40b5954f0f5f0f181d3fa73ec36cd1492d2e0669 /app/assets
parent96ae6099dd5921ae32139a206d598043520fb506 (diff)
downloadgitlab-ce-483dc62eaac0e11717b5b103317c4441ec0ff23d.tar.gz
Incorporate review
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/api.js.coffee6
-rw-r--r--app/assets/javascripts/blob/blob_ci_yaml.js.coffee2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/api.js.coffee b/app/assets/javascripts/api.js.coffee
index d543e3b7a96..cf46f15a156 100644
--- a/app/assets/javascripts/api.js.coffee
+++ b/app/assets/javascripts/api.js.coffee
@@ -7,7 +7,7 @@
labelsPath: "/api/:version/projects/:id/labels"
licensePath: "/api/:version/licenses/:key"
gitignorePath: "/api/:version/gitignores/:key"
- gitlabCIYmlPath: "/api/:version/gitlab_ci_ymls/:key"
+ gitlabCiYmlPath: "/api/:version/gitlab_ci_ymls/:key"
group: (group_id, callback) ->
url = Api.buildUrl(Api.groupPath)
@@ -111,8 +111,8 @@
$.get url, (gitignore) ->
callback(gitignore)
- gitlabCIYml: (key, callback) ->
- url = Api.buildUrl(Api.gitlabCIYmlPath).replace(':key', key)
+ gitlabCiYml: (key, callback) ->
+ url = Api.buildUrl(Api.gitlabCiYmlPath).replace(':key', key)
$.get url, (file) ->
callback(file)
diff --git a/app/assets/javascripts/blob/blob_ci_yaml.js.coffee b/app/assets/javascripts/blob/blob_ci_yaml.js.coffee
index dc14700d305..d9a03d05529 100644
--- a/app/assets/javascripts/blob/blob_ci_yaml.js.coffee
+++ b/app/assets/javascripts/blob/blob_ci_yaml.js.coffee
@@ -2,7 +2,7 @@
class @BlobCiYamlSelector extends TemplateSelector
requestFile: (query) ->
- Api.gitlabCIYml query.name, @requestFileSuccess.bind(@)
+ Api.gitlabCiYml query.name, @requestFileSuccess.bind(@)
class @BlobCiYamlSelectors
constructor: (opts) ->