Skip to content

Commit 00b4f2f

Browse files
Maikuolannknapp
authored andcommitted
Fix some small typos.
1 parent e47b5ec commit 00b4f2f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/handlebars/compiler/whitespace-control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function omitLeft(body, i, multiple) {
206206
return;
207207
}
208208

209-
// We omit the last node if it's whitespace only and not preceeded by a non-content node.
209+
// We omit the last node if it's whitespace only and not preceded by a non-content node.
210210
let original = current.value;
211211
current.value = current.value.replace(multiple ? (/\s+$/) : (/[ \t]+$/), '');
212212
current.leftStripped = current.value !== original;

lib/handlebars/runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function template(templateSpec, env) {
3232
templateSpec.main.decorator = templateSpec.main_d;
3333

3434
// Note: Using env.VM references rather than local var references throughout this section to allow
35-
// for external users to override these as psuedo-supported APIs.
35+
// for external users to override these as pseudo-supported APIs.
3636
env.VM.checkRevision(templateSpec.compiler);
3737

3838
function invokePartialWrapper(partial, context, options) {

release-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Compatibility notes:
406406
- Lines containing only block statements and whitespace are now removed. This matches the Mustache spec but may cause issues with code that expects whitespace to exist but would not otherwise.
407407
- Partials that are standalone will now indent their rendered content
408408
- `AST.ProgramNode`'s signature has changed.
409-
- Numerious methods/features removed from psuedo-API classes
409+
- Numerious methods/features removed from pseudo-API classes
410410
- `JavaScriptCompiler.register`
411411
- `JavaScriptCompiler.replaceStack` no longer supports non-inline replace
412412
- `Compiler.disassemble`
@@ -597,7 +597,7 @@ Compatibility notes:
597597
## v1.0.11 / 1.0.0-rc4 - May 13 2013
598598

599599
- [#458](https://github.com/wycats/handlebars.js/issues/458) - Fix `./foo` syntax ([@jpfiset](https://github.com/jpfiset))
600-
- [#460](https://github.com/wycats/handlebars.js/issues/460) - Allow `:` in unescaped identifers ([@jpfiset](https://github.com/jpfiset))
600+
- [#460](https://github.com/wycats/handlebars.js/issues/460) - Allow `:` in unescaped identifiers ([@jpfiset](https://github.com/jpfiset))
601601
- [#471](https://github.com/wycats/handlebars.js/issues/471) - Create release notes (These!)
602602
- [#456](https://github.com/wycats/handlebars.js/issues/456) - Allow escaping of `\\`
603603
- [#211](https://github.com/wycats/handlebars.js/issues/211) - Fix exception in `escapeExpression`

0 commit comments

Comments
 (0)