Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12255ff commit 795b908Copy full SHA for 795b908
‎src/core/vdom/patch.js
@@ -120,7 +120,14 @@ export function createPatchFunction (backend) {
120
if (
121
!inPre &&
122
!vnode.ns &&
123
- !(config.ignoredElements.length && config.ignoredElements.indexOf(tag) > -1) &&
+ !(
124
+ config.ignoredElements.length &&
125
+ config.ignoredElements.some(ignore => {
126
+ return ignore instanceof RegExp
127
+ ? ignore.test(tag)
128
+ : ignore === tag
129
+ })
130
+ ) &&
131
config.isUnknownElement(tag)
132
) {
133
warn(
0 commit comments