|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
701 bytes
|
| Line | |
|---|
| 1 | function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|---|
| 2 | try {
|
|---|
| 3 | var i = n[a](c),
|
|---|
| 4 | u = i.value;
|
|---|
| 5 | } catch (n) {
|
|---|
| 6 | return void e(n);
|
|---|
| 7 | }
|
|---|
| 8 | i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|---|
| 9 | }
|
|---|
| 10 | function _asyncToGenerator(n) {
|
|---|
| 11 | return function () {
|
|---|
| 12 | var t = this,
|
|---|
| 13 | e = arguments;
|
|---|
| 14 | return new Promise(function (r, o) {
|
|---|
| 15 | var a = n.apply(t, e);
|
|---|
| 16 | function _next(n) {
|
|---|
| 17 | asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|---|
| 18 | }
|
|---|
| 19 | function _throw(n) {
|
|---|
| 20 | asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|---|
| 21 | }
|
|---|
| 22 | _next(void 0);
|
|---|
| 23 | });
|
|---|
| 24 | };
|
|---|
| 25 | }
|
|---|
| 26 | module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.