Commit 4d5b7a25 authored by Leon Arnott's avatar Leon Arnott
Browse files

Fixed a code generation bug in the If pane of The Harlowe Toolbar.

Closes #216.

Also fixed two mistakes in the documentation.
parent fba54515c656
......@@ -2,7 +2,7 @@
Documentation is at http://twine2.neocities.org/. See below for compilation instructions.
### 3.2.1 changes (unreleased):
### 3.2.1 changes (Jan 18, 2021):
#### Bugfixes
......
......@@ -1751,7 +1751,7 @@ define(['jquery', 'macros', 'utils', 'state', 'passages', 'renderer', 'engine',
is in fullscreen mode. Additionally, this means that the Debug Mode panel is still visible when fullscreen mode is activated.
Currently, there is no special functionality or error reporting when the browser reports that fullscreen mode is available, but the attempt
to switch to fullscreen mode fails. In that case, the link will simply appear to do nothing.
to switch to fullscreen mode fails. In that case, the checkbox will simply appear to do nothing.
See also:
(checkbox:), (link-fullscreen:), (icon-fullscreen:)
......
......@@ -262,7 +262,7 @@ define([
/*d:
(shuffled: Any, ...Any) -> Array
Similar to (a:), this producws an array of the given values, except that it randomly rearranges the elements instead
Similar to (a:), this produces an array of the given values, except that it randomly rearranges the elements instead
of placing them in the given order.
Example usage:
......
......@@ -1847,7 +1847,7 @@
model(m, elem) {
const v = elem[$]('input').value;
if (v) {
m.changerNamed('if').push("(history: where it is " + stringify(v) + ")'s length");
m.changerNamed('if').push("(history: where its name contains " + stringify(v) + ")'s length");
m.valid = true;
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment