Skip to content

Commit 7e697d9

Browse files
committed
Fix spelling in moved files
1 parent 147601f commit 7e697d9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/labs/ssr/src/lib/render-value.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ type CustomElementClosedOp = {
185185

186186
/**
187187
* Operation to possibly emit the `<!--lit-node-->` marker; the operation
188-
* always emits if there were attribtue parts, and may emit if the node
188+
* always emits if there were attribute parts, and may emit if the node
189189
* was a custom element and it needed `defer-hydration` because it was
190190
* rendered in the shadow root of another custom element host; we don't
191191
* know the latter at opcode generation time, and so that test is done at
@@ -315,7 +315,7 @@ const getTemplateOpcodes = (result: TemplateResult) => {
315315
/**
316316
* Records the given string to the output, either by appending to the current
317317
* opcode (if already `text`) or by creating a new `text` opcode (if the
318-
* previous opocde was not `text)
318+
* previous opcode was not `text)
319319
*/
320320
const flush = (value: string) => {
321321
const op = getLast(ops);
@@ -510,7 +510,7 @@ export type RenderInfo = {
510510
customElementHostStack: Array<ElementRenderer | undefined>;
511511

512512
/**
513-
* An optional callback to notifiy when a custom element has been rendered.
513+
* An optional callback to notify when a custom element has been rendered.
514514
*
515515
* This allows servers to know what specific tags were rendered for a given
516516
* template, even in the case of conditional templates.

packages/labs/ssr/src/lib/render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type {RenderResult} from './render-result.js';
2121
*
2222
* @param value Value to render
2323
* @param renderInfo Optional render context object that should be passed
24-
* to any re-entrant calls to `render`, e.g. from a `renderShadow` callback
24+
* to any reentrant calls to `render`, e.g. from a `renderShadow` callback
2525
* on an ElementRenderer.
2626
*/
2727
export function* render(

0 commit comments

Comments
 (0)