0.9.0 • Published 11 years ago

roole-browser v0.9.0

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

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 npm

    		npm 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.

0.9.0

11 years ago

0.1.0

11 years ago