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

Releases: guyotJs/FjallJS

v1.2

26 Nov 05:14
ed06465

Choose a tag to compare

# FjallJS v1.2

Fixed array index bug. For loop did not account for an empty array.

v1.1

26 Nov 04:32
720ff26

Choose a tag to compare

# 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

FjallJS release 1.0

25 Nov 21:00
ddc3bf8

Choose a tag to compare

# FjallJS v1.0

FjallJS is here lighweight and versatile.

Write in reacticity with ONE JavaScript file.
Attributes for any project like

  1. l-if
  2. l-data
  3. lint
  4. l-bind
  5. l-click
  6. and l-for
<body l-data='{"arr1":["Something","Another Thing"]}'>
	<button l-click='arr1.push("Yay you added even more something")'>Add something</button>
	<ol l-for="arr1" for-item="li" item-class="green"></ol>
	<script src="./fjall-min.js"></script>
</body>

Liscensed with MIT

v0.5.1

22 Nov 20:18
3115349

Choose a tag to compare

v0.5.1 Pre-release
Pre-release

Minor bug fix to allow several variable in jif(); and jelse(); tags

0.5

22 Nov 19:44
33414fb

Choose a tag to compare

0.5 Pre-release
Pre-release

Jhtml Prerelease v0.5

Updated jif(); and jelse(); system

let show = false;

function react(){
    jif([{show}]);
    return 0;
}

0.4

21 Nov 20:31
44e2577

Choose a tag to compare

0.4 Pre-release
Pre-release

Added Mobile and Computer Tags

// initiate the tags
jscreen();
<p mobile>The text appears if the screen is below 600px</p>
<p computer>But this text appears if the screen is above 600px</p>

Prerelease v0.3 Nov. 14 2023

Jhtml Prerelease v0.3

15 Nov 02:16
76d493b

Choose a tag to compare

Jhtml Prerelease v0.3 Pre-release
Pre-release

Added else tag

function react(){
  jelse([var1,var2]);
}
<p if="var1">Hi</p>
<p else="var1">Bye</p>

Prerelease v0.3 Nov. 14 2023

Jhtml Prerelease v0.2

14 Nov 15:03
39afbfc

Choose a tag to compare

Jhtml Prerelease v0.2 Pre-release
Pre-release

Added continuous reactivity

Include a react function in <script></script>

The function must return 0

var react = function(){
  // Add Reactive content here
  return 0;
}

Nov. 14 2023 prerelease v0.2