Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Nov 6, 2009
1 parent 34b37c9 commit f5d7d86
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions Readme.md
Expand Up @@ -13,7 +13,9 @@
* leg (parser generator)
* jspec (test suite only)

## Building From Source
## Installation

Include *lib/mojo.js* in your application and:

$ make
$ make install
Expand Down Expand Up @@ -81,23 +83,24 @@ rendered markup output:
<body>
<h1>Articles</h1>

<div class="article">
<h2>One</h2>
<p>some more one</p>

</div>

<div class="article">
<h2>Two</h2>
<p>some more two</p>

<p>Two is published</p>

</div>
<div class="article">
<h2>One</h2>
<p>some more one</p>
</div>
<div class="article">
<h2>Two</h2>
<p>some more two</p>
<p>Two is published</p>
</div>

</body>
</html>

The templates produced by **mojo** can be simply copy / pasted
into your application, or loaded via XMLHttpRequest, or via IO
for server side implementations.

## License

(The MIT License)
Expand Down

0 comments on commit f5d7d86

Please sign in to comment.