StackTalk changes for this morning:
- Updated how modules work. Now, instead of having their contents copied into objects when
used, they get attached to a metaObject field. Well, after the concatenation of all of the modules a particular object is using is built, if it doesn't yet exist. - Updated the StackTalk website so that -most- of the code examples have playground links. This is the first time I've ever taken advantage of running the same JS on the front and backend of a website, using fflate.js in the site generator to build the playground links
- Updated the StackTalk site gen to remove the contents of the
site/directory, rather than removing the directory itself:
old:
Directory .[
try[ site: rmr ] :catch void ]
static: site: copy
site/rx: ensure
]
new:
Directory .[
try[ site: ls each[ .[ path "/" + name + ] rmr ] :catch /l ]
static: site: copy
site/rx: ensure
]