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