Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

v1.1

Choose a tag to compare

@ClassicMC-Studios ClassicMC-Studios released this 26 Nov 04:32
· 11 commits to main since this release
720ff26

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

  1. if/else
  2. data
  3. for
  4. bind
  5. mobile
  6. lint
  7. 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