Skip to content

Commit

Permalink
chore(typo): fix typo in comments (vuejs#9995)
Browse files Browse the repository at this point in the history
  • Loading branch information
sairoutine authored and posva committed May 8, 2019
1 parent 26bd807 commit 1137e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compiler/parser/html-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const startTagOpen = new RegExp(`^<${qnameCapture}`)
const startTagClose = /^\s*(\/?)>/
const endTag = new RegExp(`^<\\/${qnameCapture}[^>]*>`)
const doctype = /^<!DOCTYPE [^>]+>/i
// #7298: escape - to avoid being pased as HTML comment when inlined in page
// #7298: escape - to avoid being passed as HTML comment when inlined in page
const comment = /^<!\--/
const conditionalComment = /^<!\[/

Expand Down
2 changes: 1 addition & 1 deletion src/core/instance/render-helpers/bind-dynamic-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function bindDynamicKeys (baseObj: Object, values: Array<any>): Object {
if (typeof key === 'string' && key) {
baseObj[values[i]] = values[i + 1]
} else if (process.env.NODE_ENV !== 'production' && key !== '' && key !== null) {
// null is a speical value for explicitly removing a binding
// null is a special value for explicitly removing a binding
warn(
`Invalid value for dynamic directive argument (expected string or null): ${key}`,
this
Expand Down

0 comments on commit 1137e41

Please sign in to comment.