diff options
Diffstat (limited to 'uploader/static/js')
-rw-r--r-- | uploader/static/js/files.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/uploader/static/js/files.js b/uploader/static/js/files.js index c1dedad..017ea3e 100644 --- a/uploader/static/js/files.js +++ b/uploader/static/js/files.js @@ -1,4 +1,4 @@ -var read_first_n_lines = (fileelement, count, process_content_fns) => { +var readFirstNLines = (fileelement, count, process_content_fns) => { var thefile = fileelement.files[0]; var reader = new FileReader(); if(typeof thefile !== "undefined" && thefile !== null) { @@ -14,3 +14,4 @@ var read_first_n_lines = (fileelement, count, process_content_fns) => { reader.readAsText(thefile); } }; +var read_first_n_lines = readFirstNLines; |