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

Function initRender

static/vuejs/vue.runtime.common.js:3557–3573  ·  view source on GitHub ↗
(vm)

Source from the content-addressed store, hash-verified

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

Callers 1

initMixinFunction · 0.70

Calls 2

resolveSlotsFunction · 0.70
createElementFunction · 0.70

Tested by

no test coverage detected