Browse Source

fix a typo (#5284)

dev
ZhangJan 8 years ago
committed by Eduardo San Martin Morote
parent
commit
be076173d0
  1. 2
      src/core/vdom/create-component.js

2
src/core/vdom/create-component.js

@ -296,7 +296,7 @@ function extractProps (data: VNodeData, Ctor: Class<Component>, tag?: string): ?
) { ) {
tip( tip(
`Prop "${keyInLowerCase}" is passed to component ` + `Prop "${keyInLowerCase}" is passed to component ` +
`${formatComponentName(tag || Ctor)}, but the delared prop name is` + `${formatComponentName(tag || Ctor)}, but the declared prop name is` +
` "${key}". ` + ` "${key}". ` +
`Note that HTML attributes are case-insensitive and camelCased ` + `Note that HTML attributes are case-insensitive and camelCased ` +
`props need to use their kebab-case equivalents when using in-DOM ` + `props need to use their kebab-case equivalents when using in-DOM ` +

Loading…
Cancel
Save