A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/vuejs/vue/commit/2876ed870c5368a1767fbeddf06e94b55ebd6234 below:

resolve async component default for native dynamic import · vuejs/vue@2876ed8 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-3

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+7

-3

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

@@ -6,13 +6,17 @@ import {

6 6

isDef,

7 7

isUndef,

8 8

isTrue,

9 -

isObject

9 +

isObject,

10 +

hasSymbol

10 11

} from 'core/util/index'

11 12 12 13

import { createEmptyVNode } from 'core/vdom/vnode'

13 14 14 -

function ensureCtor (comp, base) {

15 -

if (comp.__esModule && comp.default) {

15 +

function ensureCtor (comp: any, base) {

16 +

if (

17 +

comp.__esModule ||

18 +

(hasSymbol && comp[Symbol.toStringTag] === 'Module')

19 +

) {

16 20

comp = comp.default

17 21

}

18 22

return isObject(comp)

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