debian-mirror-gitlab/app/assets/javascripts/commit/file.js
2017-08-17 22:00:37 +05:30

14 lines
317 B
JavaScript

/* 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);