From ffda663594ad5363ec090d2604a2a5bd25b6b630 Mon Sep 17 00:00:00 2001 From: sairoutine Date: Thu, 9 May 2019 00:00:03 +0900 Subject: [PATCH] chore(typo): fix typo --- src/compiler/parser/html-parser.js | 2 +- src/core/instance/render-helpers/bind-dynamic-keys.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/parser/html-parser.js b/src/compiler/parser/html-parser.js index e75ed76539d..dbc59146331 100644 --- a/src/compiler/parser/html-parser.js +++ b/src/compiler/parser/html-parser.js @@ -22,7 +22,7 @@ const startTagOpen = new RegExp(`^<${qnameCapture}`) const startTagClose = /^\s*(\/?)>/ const endTag = new RegExp(`^<\\/${qnameCapture}[^>]*>`) const 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 = /^): 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