summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/milestone.js.coffee
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-10-20 22:48:07 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-20 23:03:33 +0200
commitc0c8dccf2e36c269cfb26b31b86cf60d262c4843 (patch)
tree3d76917781a3451c2e373ae918198616f1bc1062 /app/assets/javascripts/milestone.js.coffee
parent72abe9f679043a1ac566f60109b21cadace204d7 (diff)
downloadgitlab-ce-c0c8dccf2e36c269cfb26b31b86cf60d262c4843.tar.gz
Export all coffee classes with @
Diffstat (limited to 'app/assets/javascripts/milestone.js.coffee')
-rw-r--r--app/assets/javascripts/milestone.js.coffee4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/javascripts/milestone.js.coffee b/app/assets/javascripts/milestone.js.coffee
index ea01c318d4f..c42f31933d3 100644
--- a/app/assets/javascripts/milestone.js.coffee
+++ b/app/assets/javascripts/milestone.js.coffee
@@ -1,4 +1,4 @@
-class Milestone
+class @Milestone
@updateIssue: (li, issue_url, data) ->
$.ajax
type: "PUT"
@@ -115,5 +115,3 @@ class Milestone
Milestone.updateMergeRequest(ui.item, merge_request_url, data)
).disableSelection()
-
-@Milestone = Milestone