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

Function initRender

static/vuejs/vue.js:3561–3577  ·  view source on GitHub ↗
(vm)

Source from the content-addressed store, hash-verified

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

Callers 1

initMixinFunction · 0.70

Calls 2

resolveSlotsFunction · 0.70
createElementFunction · 0.70

Tested by

no test coverage detected