MCPcopy Create free account
hub / github.com/TruthHun/BookStack / initRender

Function initRender

static/vuejs/vue.runtime.esm.js:3555–3571  ·  view source on GitHub ↗
(vm)

Source from the content-addressed store, hash-verified

3553/* */
3554
3555function initRender (vm) {
3556 vm.$vnode = null; // the placeholder node in parent tree
3557 vm._vnode = null; // the root of the child tree
3558 vm._staticTrees = null;
3559 var parentVnode = vm.$options._parentVnode;
3560 var renderContext = parentVnode && parentVnode.context;
3561 vm.$slots = resolveSlots(vm.$options._renderChildren, renderContext);
3562 vm.$scopedSlots = emptyObject;
3563 // bind the createElement fn to this instance
3564 // so that we get proper render context inside it.
3565 // args order: tag, data, children, normalizationType, alwaysNormalize
3566 // internal version is used by render functions compiled from templates
3567 vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
3568 // normalization is always applied for the public version, used in
3569 // user-written render functions.
3570 vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
3571}
3572
3573function renderMixin (Vue) {
3574 Vue.prototype.$nextTick = function (fn) {

Callers 1

initMixinFunction · 0.70

Calls 2

resolveSlotsFunction · 0.70
createElementFunction · 0.70

Tested by

no test coverage detected