diff options
author | Frederick Muriuki Muriithi | 2024-12-20 12:35:20 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-20 12:35:20 -0600 |
commit | 40727f25e46cb956fafacbb2a139ce30a1679523 (patch) | |
tree | 6bad6547008f2721df73c5c93edac44d734e8951 /uploader/static | |
parent | bb85bfe307231a3082681ff3ececb331a56b0bdc (diff) | |
download | gn-uploader-40727f25e46cb956fafacbb2a139ce30a1679523.tar.gz |
Retain a consistent naming scheme for functions.
* Create a temporary fix to bridge the change.
Diffstat (limited to 'uploader/static')
-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; |