diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-02 15:36:53 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-02 15:36:53 +0400 |
commit | 0b981eb9b3fbef8f34b9be37a2484c96189ea417 (patch) | |
tree | dc3de45fc520d902a1e58cd01f01b1f6ce558a60 /app/assets/javascripts/commit.js.coffee | |
parent | 37f3d0f25b7188312e5d781514245a2853054e4b (diff) |
coffescript refactoring pt.1
Diffstat (limited to 'app/assets/javascripts/commit.js.coffee')
-rw-r--r-- | app/assets/javascripts/commit.js.coffee | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/commit.js.coffee b/app/assets/javascripts/commit.js.coffee index 42af060a58e..9f55a1e6368 100644 --- a/app/assets/javascripts/commit.js.coffee +++ b/app/assets/javascripts/commit.js.coffee @@ -1,5 +1,6 @@ -@Commit = - init: -> +class Commit + constructor: -> $('.files .file').each -> new CommitFile(this) +@Commit = Commit |