MCPcopy
hub / github.com/msoedov/agentic_security / createElement

Function createElement

agentic_security/static/vue.js:3344–3361  ·  view source on GitHub ↗
(
    context,
    tag,
    data,
    children,
    normalizationType,
    alwaysNormalize
  )

Source from the content-addressed store, hash-verified

3342 // wrapper function for providing a more flexible interface
3343 // without getting yelled at by flow
3344 function createElement (
3345 context,
3346 tag,
3347 data,
3348 children,
3349 normalizationType,
3350 alwaysNormalize
3351 ) {
3352 if (Array.isArray(data) || isPrimitive(data)) {
3353 normalizationType = children;
3354 children = data;
3355 data = undefined;
3356 }
3357 if (isTrue(alwaysNormalize)) {
3358 normalizationType = ALWAYS_NORMALIZE;
3359 }
3360 return _createElement(context, tag, data, children, normalizationType)
3361 }
3362
3363 function _createElement (
3364 context,

Callers 2

FunctionalRenderContextFunction · 0.70
initRenderFunction · 0.70

Calls 3

isPrimitiveFunction · 0.85
isTrueFunction · 0.85
_createElementFunction · 0.85

Tested by

no test coverage detected