From 4311f2987976121da0e00104c4c0224c0373730f Mon Sep 17 00:00:00 2001 From: Tyler Akins Date: Wed, 5 Apr 2023 20:54:27 -0500 Subject: [PATCH] Fixing the build, some doc cleanup, update version --- README.md | 4 ++-- mo | 2 +- tests/array.template | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4f256c0..efb195e 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ Output: ``` -### Helpers / Function Arguments with +### Helpers / Function Arguments Function Arguments are not a part of the official Mustache implementation, and are more often associated with Handlebar's Helper functionality. @@ -168,7 +168,7 @@ Function Arguments are not a part of the official Mustache implementation, and a {{myfunc foo bar}} ``` -For security reasons, this arguments are not immediately available to function calls without a flag. +For security reasons, these arguments are not immediately available to function calls without a flag. #### with `--allow-function-arguments` diff --git a/mo b/mo index bb14fbf..dac2979 100755 --- a/mo +++ b/mo @@ -1108,7 +1108,7 @@ moUsage() { # Save the original command's path for usage later MO_ORIGINAL_COMMAND="$(cd "${BASH_SOURCE[0]%/*}" || exit 1; pwd)/${BASH_SOURCE[0]##*/}" -MO_VERSION="2.2.0" +MO_VERSION="2.3.0" # If sourced, load all functions. # If executed, perform the actions as expected. diff --git a/tests/array.template b/tests/array.template index 8671607..771906f 100644 --- a/tests/array.template +++ b/tests/array.template @@ -1,3 +1,3 @@ {{#repo}} - {{@index}} - {{.}} + {{@key}} - {{.}} {{/repo}}