Skip to content

Commit

Permalink
grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew-Daniels committed Aug 10, 2024
1 parent f274c77 commit f9ea945
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/core/src/lib/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ abstract class Contract {
}

/**
* `ParentContract` is used to define a contract with an embedded iframe with an id of `iframeId` and an origin of `targetOrigin`.
* All the effects defined in the parent contract are ones that the parent window can request be called at any time in the iframe.
* `ParentContract` is used to define a contract with an embedded iframe with an id of `iframeId` and an origin of `targetOrigin`
* All the effects defined in the parent contract are ones that the iframe window can request be called at any time in the parent
*/
export class ParentContract extends Contract {
private readonly iframe: HTMLIFrameElement;
Expand All @@ -66,8 +66,8 @@ export class ParentContract extends Contract {
}

/**
* The `IFrameContract` class is used to define a contract with a parent window with an origin of `targetOrigin`.
* All the effects defined in the iframe contract are ones that the parent window can request be called at any time in the iframe.
* The `IFrameContract` class is used to define a contract with a parent window with an origin of `targetOrigin`
* All the effects defined in the iframe contract are ones that the parent window can request be called at any time in the iframe
*/
export class IFrameContract extends Contract {
constructor(targetOrigin: string, effects: Record<string, Effect>) {
Expand Down

0 comments on commit f9ea945

Please sign in to comment.