Similar to CoffeeScript, added support for automatically running <script type="text/civet"> code that appears in the HTML that loads the browser build of Civet.
The new source/browser.civet in general allows us to add code specific to the browser build.
I renamed source/browser.civet to source/browser-shim.civet but the diff doesn't show it that way.
Motivation: Easy to run Civet in online sandboxes without any build tools.
Similar to CoffeeScript, added support for automatically running
<script type="text/civet">
code that appears in the HTML that loads the browser build of Civet.The new
source/browser.civet
in general allows us to add code specific to the browser build.I renamed
source/browser.civet
tosource/browser-shim.civet
but the diff doesn't show it that way.Motivation: Easy to run Civet in online sandboxes without any build tools.