Fixes Nano with infinities/NaN again (#22740)

* Fixes Nano with not-quite-valid JSON again, "properly" this time

* Deletes unused file
This commit is contained in:
Exxion
2019-05-03 14:52:58 -04:00
committed by jknpj
parent 4f2fc87432
commit c3fa10c844
4 changed files with 270 additions and 238 deletions

View File

@@ -106,6 +106,7 @@ nanoui is used to open and update nano browser uis
*/
/datum/nanoui/proc/add_common_assets()
add_script("libraries.min.js") // A JS file comprising of jQuery, doT.js and jQuery Timer libraries (compressed together)
add_script("JSON_parseMore.js") // Honestly I have no idea how to add to that previous file safely but someone else can do it if they want
add_script("nano_utility.js") // The NanoUtility JS, this is used to store utility functions.
add_script("nano_template.js") // The NanoTemplate JS, this is used to render templates.
add_script("nano_state_manager.js") // The NanoStateManager JS, it handles updates from the server and passes data to the current state