summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commit/file.js
blob: 3f29826fa9b9887216c84001e6148f60043dfd54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-new, no-undef, padded-blocks, max-len */
(function() {
  this.CommitFile = (function() {
    function CommitFile(file) {
      if ($('.image', file).length) {
        new ImageFile(file);
      }
    }

    return CommitFile;

  })();

}).call(this);