mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Coffeescript; Bower; Gulp; asset_cache
We now write frontend code in Coffeescript, alongside our LESS. PostCSS adds hacks to make CSS work on old versions of IE. Bower is used to manage dependencies. Gulp is used to build the code. Images are dropped in favor of SVG or CSS effects. NanoUI is now a 'simple' asset in the asset_cache
This commit is contained in:
@@ -272,8 +272,7 @@ var/list/admin_verbs_hideable = list(
|
||||
/client/proc/fps,
|
||||
/client/proc/cmd_admin_grantfullaccess,
|
||||
/client/proc/cmd_admin_areatest,
|
||||
/client/proc/readmin,
|
||||
/client/proc/reload_nanoui_resources
|
||||
/client/proc/readmin
|
||||
)
|
||||
if(holder)
|
||||
verbs.Remove(holder.rank.adds)
|
||||
|
||||
@@ -776,21 +776,3 @@ var/global/list/g_fancy_list_of_types = null
|
||||
|
||||
if(!holder) return
|
||||
debug_variables(huds[i])
|
||||
|
||||
/client/proc/reload_nanoui_resources()
|
||||
set category = "Debug"
|
||||
set name = "Reload NanoUI Resources"
|
||||
set desc = "Force the client to redownload NanoUI Resources"
|
||||
|
||||
// Close open NanoUIs.
|
||||
SSnano.close_user_uis(usr)
|
||||
|
||||
// Re-load the assets.
|
||||
var/datum/asset/assets = get_asset_datum(/datum/asset/nanoui)
|
||||
assets.register()
|
||||
|
||||
// Clear the user's cache so they get resent.
|
||||
usr.client.cache = list()
|
||||
|
||||
// Send the assets.
|
||||
assets.send(usr.client)
|
||||
|
||||
@@ -159,7 +159,6 @@ var/intercom_range_display_status = 0
|
||||
src.verbs += /client/proc/cmd_show_at_list
|
||||
src.verbs += /client/proc/cmd_show_at_list
|
||||
src.verbs += /client/proc/manipulate_organs
|
||||
src.verbs += /client/proc/reload_nanoui_resources
|
||||
|
||||
feedback_add_details("admin_verb","mDV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user