* Validate component names
(options)
| 1128 | * Validate component names |
| 1129 | */ |
| 1130 | function checkComponents (options) { |
| 1131 | for (var key in options.components) { |
| 1132 | var lower = key.toLowerCase(); |
| 1133 | if (isBuiltInTag(lower) || config.isReservedTag(lower)) { |
| 1134 | warn( |
| 1135 | 'Do not use built-in or reserved HTML elements as component ' + |
| 1136 | 'id: ' + key |
| 1137 | ); |
| 1138 | } |
| 1139 | } |
| 1140 | } |
| 1141 | |
| 1142 | /** |
| 1143 | * Ensure all props option syntax are normalized into the |