mirror of
https://github.com/ArnoldSmith86/virtualtabletop.git
synced 2026-03-02 22:57:02 -05:00
Fragment and compartmentalize the code #569
Labels
No labels
PCIO compatibility
Validator
automated testing
bug
documentation
duplicate
editor
enhancement
enhancement
library
library
maintenance
needs legacy server
pile related
reported client crash
routine operations
user interface
widget properties
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/virtualtabletop#569
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RaphaelAlvez on GitHub (Sep 16, 2022).
@mousewax
@mousewax commented on GitHub (Sep 16, 2022):
I simple string replace might suffice similar to
<script type="module"> //*** CONFIG ***// //*** JS ***// </script>Search for
[tmplt file="example.html"]in the room.html and replace the entire string with the contents oftemplates/example.html. It doesn't have to be an html file. It can be a js, css, or simple text.For example:
or
If the file does not exist, it just removes the string and displays nothing there.
@robartsd commented on GitHub (Sep 17, 2022):
So the interest here is breaking room.html into parts that could be individually modified (primarily for the benefit of those maintaining customized servers).