mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-01-07 09:27:27 -08:00
74eb5fa045
- `example/proxy` is new folder for `example_proxy`. - `riven` is new folder for the main riven lib. - Updated metadata to be an array and include HTTP method.
13 lines
283 B
Text
13 lines
283 B
Text
Core templating
|
|
|
|
<h1>Just static text</h1>
|
|
<p>Interpolation {{=it.f1 + it.f3}} </p>
|
|
<div> JavaScript block evaluation
|
|
{{ for(var i=0; i < it.f2; i++) {
|
|
console.log("Pass\t" + i);
|
|
}}
|
|
<div>{{=it.f3}}</div>
|
|
{{ } }}
|
|
</div>
|
|
<div> Encoding {{!'<a href="http://github.com"></a>'}}</div>
|
|
|