Timeline for Loading, parsing, and displaying a JSON file
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 7, 2021 at 12:00 | history | tweeted | twitter.com/StackCodeReview/status/1379765920747433985 | ||
| Dec 18, 2017 at 14:39 | history | edited | 200_success | CC BY-SA 3.0 |
deleted 35 characters in body; edited tags; edited title
|
| Dec 18, 2017 at 14:05 | answer | added | I wrestled a bear once. | timeline score: 1 | |
| Dec 18, 2017 at 9:15 | answer | added | Roman | timeline score: 2 | |
| Dec 18, 2017 at 8:32 | answer | added | Vipin Kumar | timeline score: 1 | |
| Dec 18, 2017 at 7:41 | answer | added | Pavlo | timeline score: 1 | |
| Dec 18, 2017 at 7:35 | comment | added | Kaiido | Seems fine, but relying on the file's extension is a poor move IMO. You should at least wrap the JSON.parse in a try catch block. | |
| Dec 18, 2017 at 6:51 | history | migrated | from stackoverflow.com (revisions) | ||
| Dec 18, 2017 at 6:29 | comment | added | Bergi | You already did it fine without any libraries? | |
| Dec 18, 2017 at 6:25 | comment | added | Jonas Wilms | To prevent racing i would move the FileReader instantiation and the onload handler inside handleFileSelect. However the whole thing looks fine, good job ;) | |
| Dec 18, 2017 at 6:21 | history | asked | Justin Gagnon | CC BY-SA 3.0 |