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

Function resolve

static/vuejs/vue.runtime.esm.js:3127–3140  ·  view source on GitHub ↗
(res)

Source from the content-addressed store, hash-verified

3125 var sync = true;
3126
3127 var resolve = function (res) {
3128 if (isObject(res)) {
3129 res = baseCtor.extend(res);
3130 }
3131 // cache resolved
3132 factory.resolved = res;
3133 // invoke callbacks only if this is not a synchronous resolve
3134 // (async resolves are shimmed as synchronous during SSR)
3135 if (!sync) {
3136 for (var i = 0, l = cbs.length; i < l; i++) {
3137 cbs[i](res);
3138 }
3139 }
3140 };
3141
3142 var reject = function (reason) {
3143 process.env.NODE_ENV !== 'production' && warn(

Callers

nothing calls this directly

Calls 2

extendMethod · 0.80
isObjectFunction · 0.70

Tested by

no test coverage detected