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

Function resolve

static/vuejs/vue.runtime.common.js:3129–3142  ·  view source on GitHub ↗
(res)

Source from the content-addressed store, hash-verified

3127 var sync = true;
3128
3129 var resolve = function (res) {
3130 if (isObject(res)) {
3131 res = baseCtor.extend(res);
3132 }
3133 // cache resolved
3134 factory.resolved = res;
3135 // invoke callbacks only if this is not a synchronous resolve
3136 // (async resolves are shimmed as synchronous during SSR)
3137 if (!sync) {
3138 for (var i = 0, l = cbs.length; i < l; i++) {
3139 cbs[i](res);
3140 }
3141 }
3142 };
3143
3144 var reject = function (reason) {
3145 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