mask.js — is a markup | template | HMVC engine
.container {
h4 > 'Title'
section.content data-id='myID' {
span >'Hello ~[name]!'
}
:custom > button x-signal='click: changeName' {
'~[bind: name]'
}
}
Features:
<ul>
<li>Performance — (mobile CPUs in mind) - doesnt require precompilation</li>
<li>Custom tags / Custom Value Processors / Custom Attributes</li>
<li>DOM Based — [Template → JSON AST → Document Fragment → Live DOM].
This allows custom tags to render themselfs much faster in compare to rendering into placeholder in dom</li>
<li>For server and browsers</li>
</ul>
Default build contains:
Performance Tests
- Mask vs HTML Template Engines :jsperf
- Mask AST vs JSON parse :jsperf
- Mask Markup vs HTML :jsperf
- Mask vs Angular :jsperf
v0.7.5 |
|
v0.7.0 |
|
v0.6.95 |
|
v0.6.9 |
|