From cd985aa700caa80946245b17ea1b856449f152a0 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Tue, 13 Feb 2018 12:34:38 -0500 Subject: [PATCH] Document type signature of `FileInputView::readFile` --- js/views/file_input_view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index a323c0b7ec..eaa5389cf5 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -257,6 +257,7 @@ }).then(this.readFile); }, + // File -> Promise Attachment readFile: function(file) { return new Promise(function(resolve, reject) { var FR = new FileReader();