From fd0ee4cf2f369972d107ec783722669514013665 Mon Sep 17 00:00:00 2001 From: Mark Aherne Date: Mon, 14 Jul 2014 11:50:25 +0100 Subject: [PATCH] Fixed comments for new JS files in nanoui.dm. Changed the BYOND cache path in "To BYOND Cache.bat" to a dynamic path. --- code/modules/nano/nanoui.dm | 8 ++++---- nano/To BYOND Cache.bat | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/code/modules/nano/nanoui.dm b/code/modules/nano/nanoui.dm index b3262ee297a82..f788d0eeeac92 100644 --- a/code/modules/nano/nanoui.dm +++ b/code/modules/nano/nanoui.dm @@ -96,10 +96,10 @@ nanoui is used to open and update nano browser uis add_script("libraries.min.js") // A JS file comprising of jQuery, doT.js and jQuery Timer libraries (compressed together) 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 - add_script("nano_state.js") // The - add_script("nano_state_default.js") // The - add_script("nano_base_callbacks.js") // The + add_script("nano_state_manager.js") // The NanoStateManager JS, it handles updates from the server and passes data to the current state + add_script("nano_state.js") // The NanoState JS, this is the base state which all states must inherit from + add_script("nano_state_default.js") // The NanoStateDefault JS, this is the "default" state (used by all UIs by default), which inherits from NanoState + add_script("nano_base_callbacks.js") // The NanoBaseCallbacks JS, this is used to set up (before and after update) callbacks which are common to all templates add_script("nano_base_helpers.js") // The NanoBaseHelpers JS, this is used to set up template helpers which are common to all templates add_stylesheet("shared.css") // this CSS sheet is common to all UIs add_stylesheet("icons.css") // this CSS sheet is common to all UIs diff --git a/nano/To BYOND Cache.bat b/nano/To BYOND Cache.bat index ececbd1eac25c..486b8d1beaaf6 100644 --- a/nano/To BYOND Cache.bat +++ b/nano/To BYOND Cache.bat @@ -1,4 +1,4 @@ -copy css\* C:\Users\Mark\Documents\BYOND\cache /y -copy images\* C:\Users\Mark\Documents\BYOND\cache /y -copy js\* C:\Users\Mark\Documents\BYOND\cache /y -copy templates\* C:\Users\Mark\Documents\BYOND\cache /y \ No newline at end of file +copy css\* "%USERPROFILE%\Documents\BYOND\cache" /y +copy images\* "%USERPROFILE%\Documents\BYOND\cache" /y +copy js\* "%USERPROFILE%\Documents\BYOND\cache" /y +copy templates\* "%USERPROFILE%\Documents\BYOND\cache" /y