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