This repository was archived by the owner on Nov 30, 2023. It is now read-only.
v1.1
# Fjall v1.1
Fjall has been optimized heavily! 289 => 177 lines, 4.79kb => 3.46kb . Removed all setInterval() timers replaces with window.main = function(){}. Now only asks for the DOM elements twice once for the data and once for the main attributes.
The attribute names have shifted to be more concise.
- if/else
- data
- for
- bind
- mobile
- lint
- click
<body data='{"arr":["One","Two"]}'>
<button click='arr.push("Three")'>Add Something</button>
<ol for="arr" item="li" item-class="green"></ol>
<script src="./fjall-min.js"></script>
</body>Licensed with MIT