A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/commit/795b908095b29e76435479879c1ade7ef759ce7b below:

support RegExp in ignoredElements (#6769) · vuejs/vue@795b908 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+8

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+8

-1

lines changed Original file line number Diff line number Diff line change

@@ -120,7 +120,14 @@ export function createPatchFunction (backend) {

120 120

if (

121 121

!inPre &&

122 122

!vnode.ns &&

123 -

!(config.ignoredElements.length && config.ignoredElements.indexOf(tag) > -1) &&

123 +

!(

124 +

config.ignoredElements.length &&

125 +

config.ignoredElements.some(ignore => {

126 +

return ignore instanceof RegExp

127 +

? ignore.test(tag)

128 +

: ignore === tag

129 +

})

130 +

) &&

124 131

config.isUnknownElement(tag)

125 132

) {

126 133

warn(

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4