8000 global api: return asset in asset registration methods · Aphasia-GitHub/vue@9525a1f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9525a1f

Browse files
committed
global api: return asset in asset registration methods
1 parent 47f35f5 commit 9525a1f

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
@@ -133,6 +133,7 @@ config._assetTypes.forEach(function (type) {
133133
definition = _.Vue.extend(definition)
134134
}
135135
this.options[type + 's'][id] = definition
136+
return definition
136137
}
137138
}
138139
})

0 commit comments

Comments
 (0)
0