8000 global api: return asset in asset registration methods · justnull/vue@4464a91 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4464a91

Browse files
committed
global api: return asset in asset registration methods
1 parent bd7ff4e commit 4464a91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/global.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ config._assetTypes.forEach(function (type) {
138138
definition = _.Vue.extend(definition)
139139
}
140140
this.options[type + 's'][id] = definition
141+
return definition
141142
}
142143
}
143144
})

0 commit comments

Comments
 (0)
0