Skip to content

Commit 6654b36

Browse files
sairoutinekiku-jw
authored andcommitted
chore(typo): fix typo in comments (vuejs#9995)
1 parent 4597735 commit 6654b36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compiler/parser/html-parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const startTagOpen = new RegExp(`^<${qnameCapture}`)
2222
const startTagClose = /^\s*(\/?)>/
2323
const endTag = new RegExp(`^<\\/${qnameCapture}[^>]*>`)
2424
const doctype = /^<!DOCTYPE [^>]+>/i
25-
// #7298: escape - to avoid being pased as HTML comment when inlined in page
25+
// #7298: escape - to avoid being passed as HTML comment when inlined in page
2626
const comment = /^<!\--/
2727
const conditionalComment = /^<!\[/
2828

src/core/instance/render-helpers/bind-dynamic-keys.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function bindDynamicKeys (baseObj: Object, values: Array<any>): Object {
1717
if (typeof key === 'string' && key) {
1818
baseObj[values[i]] = values[i + 1]
1919
} else if (process.env.NODE_ENV !== 'production' && key !== '' && key !== null) {
20-
// null is a speical value for explicitly removing a binding
20+
// null is a special value for explicitly removing a binding
2121
warn(
2222
`Invalid value for dynamic directive argument (expected string or null): ${key}`,
2323
this

0 commit comments

Comments
 (0)