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

Function initRender

static/vuejs/vue.esm.js:3559–3575  ·  view source on GitHub ↗
(vm)

Source from the content-addressed store, hash-verified

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

Callers 1

initMixinFunction · 0.70

Calls 2

resolveSlotsFunction · 0.70
createElementFunction · 0.70

Tested by

no test coverage detected