summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commit/file.js.coffee
blob: 83e793863b60623e06d5866d94ca54f2b958608a (plain)
1
2
3
4
5
class @CommitFile

  constructor: (file) ->
    if $('.image', file).length
      new ImageFile(file)