0.9.0 • Published 12 years ago
roole-browser v0.9.0
roole-browser
Browser version of the Roole language
Installation
Insert the roole.js file into the HTML.
You can get the roole.js file by:
directly download it from this repo,
install via
npmnpm install roole-browser and use `node_modules/roole-browser/roole.js`
Example
<script src="path/to/roole.js"></script>
<script>
roole.compile(code, options, callback);
</script>Roole files inserted with
<link ref="stylesheet/roole" src="path/to/style.roo">and Roole code embedded in
<style type="text/roole">
// roole code
</style>will be automatically compiled and the compiled CSS will be automatically applied to the current page.