summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/commit/file.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/commit/file.js')
-rw-r--r--app/assets/javascripts/commit/file.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/commit/file.js b/app/assets/javascripts/commit/file.js
new file mode 100644
index 00000000000..be24ee56aad
--- /dev/null
+++ b/app/assets/javascripts/commit/file.js
@@ -0,0 +1,13 @@
+(function() {
+ this.CommitFile = (function() {
+ function CommitFile(file) {
+ if ($('.image', file).length) {
+ new ImageFile(file);
+ }
+ }
+
+ return CommitFile;
+
+ })();
+
+}).call(this);