summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commit/file.js
blob: 184b4561d2edff3f34e081e21d1c24778225e6de (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 */
/* global ImageFile */

(function() {
  this.CommitFile = (function() {
    function CommitFile(file) {
      if ($('.image', file).length) {
        new gl.ImageFile(file);
      }
    }

    return CommitFile;
  })();
}).call(this);