Skip to content

Commit

Permalink
Merge pull request #20 from Budibase/fix-block-attributes
Browse files Browse the repository at this point in the history
Fix block attributes
  • Loading branch information
adrinr authored Jan 30, 2024
2 parents 33968ef + cd8d0d8 commit 7e502b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ helpers.isArray = function(value) {
* @param {Array} `array`
* @param {Number} `idx`
* @return {any} `value`
* @block
* @api public
* @example {{itemAt [1, 2, 3] 1}} -> 2
*/
Expand Down Expand Up @@ -355,6 +354,7 @@ helpers.join = function(array, separator) {
* @param {Number} `length`
* @return {String}
* @block
* @inline
* @api public
* @example {{equalsLength [1, 2, 3] 3}} -> true
*/
Expand Down
1 change: 1 addition & 0 deletions lib/comparison.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ helpers.and = function() {
* @param {Object} `options` Handlebars provided options object
* @return {String} Block, or if specified the inverse block is rendered if falsey.
* @block
* @inline
* @api public
* @example {{compare 10 '<' 5 }} -> false
*/
Expand Down
1 change: 1 addition & 0 deletions lib/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ helpers.upcase = function() {
* @param {Object} `options` Handlebars options object
* @return {String}
* @block
* @inline
* @api public
* @example {{uppercase 'aBcDef'}} -> ABCDEF
*/
Expand Down

0 comments on commit 7e502b9

Please sign in to comment.