MCPcopy Index your code
hub / github.com/TruthHun/BookStack / checkComponents

Function checkComponents

static/vuejs/vue.runtime.esm.js:1126–1136  ·  view source on GitHub ↗

* Validate component names

(options)

Source from the content-addressed store, hash-verified

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

Callers 1

mergeOptionsFunction · 0.70

Calls 1

warnFunction · 0.50

Tested by

no test coverage detected