Skip to content

Fix grammar typo in resize() deprecation message - #1571

Merged
davidjbradshaw merged 2 commits into
devfrom
copilot/sub-pr-1570
Feb 9, 2026
Merged

Fix grammar typo in resize() deprecation message#1571
davidjbradshaw merged 2 commits into
devfrom
copilot/sub-pr-1570

Conversation

Copilot AI commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Corrects grammar error in the deprecation warning for the resize() method.

Changes

  • Fixed typo in packages/core/methods/attach.js: "As their are" → "As there are"

The deprecation message now reads correctly:

const DEPRECATED_RESIZE = `<rb>Deprecated Method</>

Use of the <b>resize()</> method from the parent page is deprecated and will be removed in a future version of <i>iframe-resizer</>. As there are no longer any edge cases that require triggering a resize from the parent page, it is recommended to remove this method from your code.`

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: davidjbradshaw <591634+davidjbradshaw@users.noreply.github.com>
Copilot AI changed the title [WIP] Add changes to address review feedback on original PR V6 Fix grammar typo in resize() deprecation message Feb 9, 2026
Copilot AI requested a review from davidjbradshaw February 9, 2026 11:49
@davidjbradshaw
davidjbradshaw marked this pull request as ready for review February 9, 2026 11:56
@davidjbradshaw
davidjbradshaw merged commit c4fe3f2 into dev Feb 9, 2026
1 check passed
@davidjbradshaw
davidjbradshaw deleted the copilot/sub-pr-1570 branch February 9, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants