nav tabs on admin dashboard
This commit is contained in:
24
node_modules/regenerator-runtime/runtime.js
generated
vendored
24
node_modules/regenerator-runtime/runtime.js
generated
vendored
@@ -168,22 +168,14 @@
|
||||
return Promise.resolve(value).then(function(unwrapped) {
|
||||
// When a yielded Promise is resolved, its final value becomes
|
||||
// the .value of the Promise<{value,done}> result for the
|
||||
// current iteration. If the Promise is rejected, however, the
|
||||
// result for this iteration will be rejected with the same
|
||||
// reason. Note that rejections of yielded Promises are not
|
||||
// thrown back into the generator function, as is the case
|
||||
// when an awaited Promise is rejected. This difference in
|
||||
// behavior between yield and await is important, because it
|
||||
// allows the consumer to decide what to do with the yielded
|
||||
// rejection (swallow it and continue, manually .throw it back
|
||||
// into the generator, abandon iteration, whatever). With
|
||||
// await, by contrast, there is no opportunity to examine the
|
||||
// rejection reason outside the generator function, so the
|
||||
// only option is to throw it from the await expression, and
|
||||
// let the generator function handle the exception.
|
||||
// current iteration.
|
||||
result.value = unwrapped;
|
||||
resolve(result);
|
||||
}, reject);
|
||||
}, function(error) {
|
||||
// If a rejected Promise was yielded, throw the rejection back
|
||||
// into the async generator function so it can be handled there.
|
||||
return invoke("throw", error, resolve, reject);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -723,5 +715,7 @@
|
||||
// In sloppy mode, unbound `this` refers to the global object, fallback to
|
||||
// Function constructor if we're in global strict mode. That is sadly a form
|
||||
// of indirect eval which violates Content Security Policy.
|
||||
(function() { return this })() || Function("return this")()
|
||||
(function() {
|
||||
return this || (typeof self === "object" && self);
|
||||
})() || Function("return this")()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user