Skip to content
Permalink
Browse files

docs: Fix simple typo, mulitple -> multiple

There is a small typo in lib/handlebars/compiler/whitespace-control.js.

Should read `multiple` rather than `mulitple`.
  • Loading branch information
timgates42 authored and nknapp committed Apr 15, 2020
1 parent 8727d20 commit b1034a67022d3e466b9b266d1b4603769f10bb9e
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/handlebars/compiler/whitespace-control.js
@@ -187,7 +187,7 @@ function isNextWhitespace(body, i, isRoot) {
//
// If i is undefined, then the first child will be marked as such.
//
// If mulitple is truthy then all whitespace will be stripped out until non-whitespace
// If multiple is truthy then all whitespace will be stripped out until non-whitespace
// content is met.
function omitRight(body, i, multiple) {
let current = body[i == null ? 0 : i + 1];
@@ -212,7 +212,7 @@ function omitRight(body, i, multiple) {
//
// If i is undefined then the last child will be marked as such.
//
// If mulitple is truthy then all whitespace will be stripped out until non-whitespace
// If multiple is truthy then all whitespace will be stripped out until non-whitespace
// content is met.
function omitLeft(body, i, multiple) {
let current = body[i == null ? body.length - 1 : i - 1];

0 comments on commit b1034a6

Please sign in to comment.
You can’t perform that action at this time.