14 lines
317 B
JavaScript
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);
|