7 lines
140 B
CoffeeScript
7 lines
140 B
CoffeeScript
|
class CommitFile
|
||
|
|
||
|
constructor: (file) ->
|
||
|
if $('.image', file).length
|
||
|
new ImageFile(file)
|
||
|
|
||
|
this.CommitFile = CommitFile
|