summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commit/file.js
blob: 27512312c7cb79dc89751955ffc3b1a81239e245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-new, padded-blocks */
/* global ImageFile */

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

    return CommitFile;

  })();

}).call(this);