From e3f8769dd70a2d32296be9b4cecb1be7f4bc3a3d Mon Sep 17 00:00:00 2001 From: Hauke D Date: Tue, 4 Sep 2018 22:03:49 +0200 Subject: [PATCH] A few minor tweaks --- notes.md | 2 +- using.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/notes.md b/notes.md index 4ec5b87..8d01c93 100644 --- a/notes.md +++ b/notes.md @@ -62,7 +62,7 @@ Release Checklist - Update version numbers everywhere; use `grep` to find them, for example: - $ grep -Er --exclude-dir=.git --exclude-dir=emperl5 --exclude=emperl.* '0\.0[0-9]' * emperl5/ext/WebPerl + $ grep -Er --exclude-dir=work --exclude-dir=.git --exclude-dir=emperl5 --exclude=emperl.* '0\.0[0-9]' * emperl5/ext/WebPerl emperl5/hints/emscripten.sh At a minimum there is: - `web/webperl.js` - `Perl.WebPerlVersion` diff --git a/using.md b/using.md index 56c4958..51d1626 100644 --- a/using.md +++ b/using.md @@ -367,8 +367,6 @@ to `console.debug()`. Defaults to `false`. #### `Perl.addStateChangeListener` -**Added in `v0.05-beta`.** - Pass this function a `function (from,to) {...}` to register a new handler for state changes of the Perl interpreter. @@ -381,9 +379,11 @@ The states currently are: - `"Ended"` - The Perl interpreter has ended. You might receive several state change notifications for this state. +This function was added in WebPerl `v0.05-beta`. + #### `Perl.stateChanged` -**Deprecated in `v0.05-beta`.** Use `Perl.addStateChangeListener` instead. +**Deprecated** in WebPerl `v0.05-beta`. Use `Perl.addStateChangeListener` instead. Set this to a `function (from,to) {...}` to handle state changes of the Perl interpreter. Defaults to a simple implementation that logs via `console.debug()`.