Skip to content

Commit

Permalink
respect user specified component names
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Oct 27, 2015
1 parent 27bb331 commit 6726a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directives/internal/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports = {
resolveComponent: function (id, cb) {
var self = this
this.pendingComponentCb = _.cancellable(function (Component) {
self.ComponentName = id
self.ComponentName = Component.options.name || id
self.Component = Component
cb()
})
Expand Down

0 comments on commit 6726a91

Please sign in to comment.