summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commit/file.js
blob: ee087c978dd836dcfdfdcd707ad850a38d806c9f (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(window);