Skip to content

Commit

Permalink
next_data, fixes StoneCypher/fsl#1233
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Dec 4, 2022
1 parent 5fa6e48 commit e6227e3
Show file tree
Hide file tree
Showing 28 changed files with 269 additions and 129 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.long.md
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

1071 merges; 177 releases
1072 merges; 177 releases



Expand All @@ -18,6 +18,21 @@ Published tags:



 

 

## [Untagged] - 12/2/2022 10:48:55 PM

Commit [5fa6e48645cb75fcd5fe38e6ff08c0d5d64a7a23](https://github.com/StoneCypher/jssm/commit/5fa6e48645cb75fcd5fe38e6ff08c0d5d64a7a23)

Author: `John Haugeland <stonecypher@gmail.com>`

* nextData underway




&nbsp;

&nbsp;
Expand Down
35 changes: 17 additions & 18 deletions CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

1071 merges; 177 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
1072 merges; 177 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)



Expand All @@ -18,6 +18,21 @@ Published tags:



&nbsp;

&nbsp;

## [Untagged] - 12/2/2022 10:48:55 PM

Commit [5fa6e48645cb75fcd5fe38e6ff08c0d5d64a7a23](https://github.com/StoneCypher/jssm/commit/5fa6e48645cb75fcd5fe38e6ff08c0d5d64a7a23)

Author: `John Haugeland <stonecypher@gmail.com>`

* nextData underway




&nbsp;

&nbsp;
Expand Down Expand Up @@ -175,20 +190,4 @@ Author: `John Haugeland <stonecypher@gmail.com>`
Merges [c0c574b, a6026d0]

* Merge pull request #545 from StoneCypher/PullThemesOutIntoModule
* Pull themes out into module




&nbsp;

&nbsp;

## [Untagged] - 9/16/2022 5:30:09 PM

Commit [a6026d0bdbec44c03303950130ed34df3a78576e](https://github.com/StoneCypher/jssm/commit/a6026d0bdbec44c03303950130ed34df3a78576e)

Author: `John Haugeland <stonecypher@gmail.com>`

* Pull themes out into module
* Fixes StoneCypher/fsl#1210
* Pull themes out into module
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
* Generated for version 5.86.3 at 12/2/2022, 11:13:35 AM
* Generated for version 5.86.3 at 12/3/2022, 5:32:24 PM
-->
# jssm
Expand All @@ -29,7 +29,7 @@ share online. Easy to embed.

Readable, useful state machines as one-liner strings.

***4,913 tests*** run 5,804 times. 4,904 specs with 100.0% coverage, 9 fuzz tests with 13.2% coverage. With 2,825 lines, that's about 1.7 tests per line, or 2.1 generated tests per line.
***4,923 tests*** run 5,814 times. 4,914 specs with 100.0% coverage, 9 fuzz tests with 13.2% coverage. With 2,828 lines, that's about 1.7 tests per line, or 2.1 generated tests per line.

***Meet your new state machine library.***

Expand Down
1 change: 1 addition & 0 deletions dist/es6/jssm.js
Expand Up @@ -1501,6 +1501,7 @@ class Machine {
function update_fields(res) {
if (res.hasOwnProperty('data')) {
hook_args.data = res.data;
hook_args.next_data = res.next_data;
data_changed = true;
}
}
Expand Down
2 changes: 2 additions & 0 deletions dist/es6/jssm_types.d.ts
Expand Up @@ -346,10 +346,12 @@ declare type HookComplexResult<mDT> = {
pass: boolean;
state?: StateType;
data?: mDT;
next_data?: mDT;
};
declare type HookResult<mDT> = true | false | undefined | void | HookComplexResult<mDT>; /** Documents whether a hook succeeded, either with a primitive or a reference to the hook complex object */
declare type HookContext<mDT> = {
data: mDT;
next_data: mDT;
};
declare type HookHandler<mDT> = (hook_context: HookContext<mDT>) => HookResult<mDT>;
declare type PostHookHandler<mDT> = (hook_context: HookContext<mDT>) => void;
Expand Down
2 changes: 1 addition & 1 deletion dist/es6/version.js
@@ -1,2 +1,2 @@
const version = "5.86.3", build_time = 1670008308356;
const version = "5.86.3", build_time = 1670117456944;
export { version, build_time };
2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/jssm.es5.cjs.nonmin.js
Expand Up @@ -20021,7 +20021,7 @@ var constants = /*#__PURE__*/Object.freeze({
named_colors: named_colors$1
});

const version = "5.86.3", build_time = 1670008308356;
const version = "5.86.3", build_time = 1670117456944;

// whargarbl lots of these return arrays could/should be sets
const { shapes, gviz_shapes, named_colors } = constants;
Expand Down Expand Up @@ -21515,6 +21515,7 @@ class Machine {
function update_fields(res) {
if (res.hasOwnProperty('data')) {
hook_args.data = res.data;
hook_args.next_data = res.next_data;
data_changed = true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/jssm.es5.iife.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/jssm.es5.iife.nonmin.js
Expand Up @@ -20020,7 +20020,7 @@ var jssm = (function (exports) {
named_colors: named_colors$1
});

const version = "5.86.3", build_time = 1670008308356;
const version = "5.86.3", build_time = 1670117456944;

// whargarbl lots of these return arrays could/should be sets
const { shapes, gviz_shapes, named_colors } = constants;
Expand Down Expand Up @@ -21514,6 +21514,7 @@ var jssm = (function (exports) {
function update_fields(res) {
if (res.hasOwnProperty('data')) {
hook_args.data = res.data;
hook_args.next_data = res.next_data;
data_changed = true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/assets/search.js

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions docs/docs/classes/jssm.Machine.html

Large diffs are not rendered by default.

0 comments on commit e6227e3

Please sign in to comment.