Skip to content

Commit f0a99c6

Browse files
committed
(bluefox) allow generation of null values
1 parent a538705 commit f0a99c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

javascript.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,6 +1657,10 @@
16571657
isAck = undefined;
16581658
}
16591659

1660+
if (state === null) {
1661+
state = {val: null};
1662+
}
1663+
16601664
if (isAck === true || isAck === false || isAck === 'true' || isAck === 'false') {
16611665
if (typeof state === 'object') {
16621666
state.ack = isAck;

0 commit comments

Comments
 (0)