Skip to content

Commit

Permalink
Update to v2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisPower1 committed Jan 28, 2024
1 parent 8d08952 commit e66a8e4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
8 changes: 5 additions & 3 deletions inter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Interjs
* Version - 2.2.1
* Version - 2.2.2
* MIT LICENSED BY - Denis Power
* Repo - https://github.com/interjs/inter
* 2021 - 2024
Expand Down Expand Up @@ -2785,7 +2785,9 @@
target,
} = oldContainer;

const { reactor } = newChildren;
let reactor;

if (isArray(newChildren)) reactor = newChildren.reactor;

if (reactor != void 0)
runNestedListDiffing(reactor, target, newChildren, oldChildren);
Expand Down Expand Up @@ -3342,5 +3344,5 @@
window.template = template;
window.toAttrs = toAttrs;
window.Backend = Backend;
console.log("The global version 2.2.1 of Inter was loaded successfully.");
console.log("The global version 2.2.2 of Inter was loaded successfully.");
})();
8 changes: 5 additions & 3 deletions inter.m.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/**
* Interjs
* Version - 2.2.1
* Version - 2.2.2
* MIT LICENSED BY - Denis Power
* Repo - https://github.com/interjs/inter
* 2021 - 2024
* GENERATED BY INTER BUILDER
* Module version
*/

export const interVersion = "2.2.1";
export const interVersion = "2.2.2";

function runInvalidTemplateArgumentError(arg) {
syErr(`The argument of the template function must be a plain Javascript object,
Expand Down Expand Up @@ -2762,7 +2762,9 @@ function runContainerDiffing(newContainer, oldContainer, diff) {
target,
} = oldContainer;

const { reactor } = newChildren;
let reactor;

if (isArray(newChildren)) reactor = newChildren.reactor;

if (reactor != void 0)
runNestedListDiffing(reactor, target, newChildren, oldChildren);
Expand Down
4 changes: 2 additions & 2 deletions inter.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"inter","version":"2.2.1","description":"The javascript framework to build highly interactive front-end web applications.","author":"Denis Power","license":"MIT","jsdelivr":"inter.min.js","repository":{"type":"git","url":"git+https://github.com/interjs/inter.git"},"homepage":"https://interjs.github.io","bugs":{"url":"https://github.com/interjs/inter/issues"},"main":"inter.js","keywords":["interjs","inter"],"devDependencies":{"eslint":"^8.32.0","prettier":"^2.8.3"}}
{"name":"inter","version":"2.2.2","description":"The javascript framework to build highly interactive front-end web applications.","author":"Denis Power","license":"MIT","jsdelivr":"inter.min.js","repository":{"type":"git","url":"git+https://github.com/interjs/inter.git"},"homepage":"https://interjs.github.io","bugs":{"url":"https://github.com/interjs/inter/issues"},"main":"inter.js","keywords":["interjs","inter"],"devDependencies":{"eslint":"^8.32.0","prettier":"^2.8.3"}}

0 comments on commit e66a8e4

Please sign in to comment.