A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/vuejs/vue/commit/458671b732c709999cbd1f0fa37d38215cab839b below:

handle include/exclude changing to non-valid types (fix #4749) · vuejs/vue@458671b · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-1

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

@@ -12,9 +12,10 @@ function getComponentName (opts: ?VNodeComponentOptions): ?string {

12 12

function matches (pattern: string | RegExp, name: string): boolean {

13 13

if (typeof pattern === 'string') {

14 14

return pattern.split(',').indexOf(name) > -1

15 -

} else {

15 +

} else if (pattern instanceof RegExp) {

16 16

return pattern.test(name)

17 17

}

18 +

return false

18 19

}

19 20 20 21

function pruneCache (cache, filter) {

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