We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f576aa commit adff008Copy full SHA for adff008
src/core/vdom/patch.js
@@ -23,6 +23,7 @@ import {
23
isUndef,
24
isTrue,
25
makeMap,
26
+ isRegExp,
27
isPrimitive
28
} from '../util/index'
29
@@ -123,7 +124,7 @@ export function createPatchFunction (backend) {
123
124
!(
125
config.ignoredElements.length &&
126
config.ignoredElements.some(ignore => {
- return ignore instanceof RegExp
127
+ return isRegExp(ignore)
128
? ignore.test(tag)
129
: ignore === tag
130
})
0 commit comments