From de01a7e6797a0d5c73bccc709639ff4ba328b744 Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Tue, 28 Jul 2015 18:37:21 -0400
Subject: Cleaned up ViewImageModal and FileAttachment and added some extra
 comments

---
 web/react/components/file_attachment_list.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'web/react/components/file_attachment_list.jsx')

diff --git a/web/react/components/file_attachment_list.jsx b/web/react/components/file_attachment_list.jsx
index 5f2690fdf..b92442957 100644
--- a/web/react/components/file_attachment_list.jsx
+++ b/web/react/components/file_attachment_list.jsx
@@ -8,9 +8,13 @@ var Constants = require('../utils/constants.jsx');
 module.exports = React.createClass({
     displayName: "FileAttachmentList",
     propTypes: {
+        // a list of file pathes displayed by this
         filenames: React.PropTypes.arrayOf(React.PropTypes.string).isRequired,
+        // the identifier of the modal dialog used to preview files
         modalId: React.PropTypes.string.isRequired,
+        // the channel that this is part of
         channelId: React.PropTypes.string,
+        // the user that owns the post that this is attached to
         userId: React.PropTypes.string
     },
     getInitialState: function() {
-- 
cgit v1.2.3-1-g7c22

