Skip to content

Commit 0f8ad06

Browse files
BrandonSurowiecposva
authored andcommitted
Fix Spelling (#3496)
* Fix Spelling * Fix other instances.
1 parent 8d03a45 commit 0f8ad06

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/vue-server-renderer/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3459,7 +3459,7 @@ function parse(template, options) {
34593459

34603460
if (process.env.VUE_ENV !== 'server' && isForbiddenTag(element)) {
34613461
element.forbidden = true;
3462-
process.env.NODE_ENV !== 'production' && warn$1('Templates should only be responsbile for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + ('<' + tag + '>.'));
3462+
process.env.NODE_ENV !== 'production' && warn$1('Templates should only be responsible for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + ('<' + tag + '>.'));
34633463
}
34643464

34653465
// apply pre-transforms

packages/vue-template-compiler/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3241,7 +3241,7 @@ function parse(template, options) {
32413241

32423242
if (process.env.VUE_ENV !== 'server' && isForbiddenTag(element)) {
32433243
element.forbidden = true;
3244-
process.env.NODE_ENV !== 'production' && warn$1('Templates should only be responsbile for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + ('<' + tag + '>.'));
3244+
process.env.NODE_ENV !== 'production' && warn$1('Templates should only be responsible for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + ('<' + tag + '>.'));
32453245
}
32463246

32473247
// apply pre-transforms

src/compiler/parser/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function parse (
9090
if (process.env.VUE_ENV !== 'server' && isForbiddenTag(element)) {
9191
element.forbidden = true
9292
process.env.NODE_ENV !== 'production' && warn(
93-
'Templates should only be responsbile for mapping the state to the ' +
93+
'Templates should only be responsible for mapping the state to the ' +
9494
'UI. Avoid placing tags with side-effects in your templates, such as ' +
9595
`<${tag}>.`
9696
)

test/unit/modules/compiler/parser.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ describe('parser', () => {
6161
expect(styleAst.plain).toBe(true)
6262
expect(styleAst.forbidden).toBe(true)
6363
expect(styleAst.children[0].text).toBe('error { color: red; }')
64-
expect('Templates should only be responsbile for mapping the state').toHaveBeenWarned()
64+
expect('Templates should only be responsible for mapping the state').toHaveBeenWarned()
6565
// script
6666
const scriptAst = parse('<script type="text/javascript">alert("hello world!")</script>', baseOptions)
6767
expect(scriptAst.tag).toBe('script')
6868
expect(scriptAst.plain).toBe(false)
6969
expect(scriptAst.forbidden).toBe(true)
7070
expect(scriptAst.children[0].text).toBe('alert("hello world!")')
71-
expect('Templates should only be responsbile for mapping the state').toHaveBeenWarned()
71+
expect('Templates should only be responsible for mapping the state').toHaveBeenWarned()
7272
})
7373

7474
it('not contain root element', () => {

0 commit comments

Comments
 (0)