|
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:
641 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.default = void 0;
|
|---|
| 7 | // eslint-disable-next-line no-unused-vars
|
|---|
| 8 | function iteratorProxy() {
|
|---|
| 9 | var values = this;
|
|---|
| 10 | var index = 0;
|
|---|
| 11 | var iter = {
|
|---|
| 12 | '@@iterator': function iterator() {
|
|---|
| 13 | return iter;
|
|---|
| 14 | },
|
|---|
| 15 | next: function next() {
|
|---|
| 16 | if (index < values.length) {
|
|---|
| 17 | var value = values[index];
|
|---|
| 18 | index = index + 1;
|
|---|
| 19 | return {
|
|---|
| 20 | done: false,
|
|---|
| 21 | value: value
|
|---|
| 22 | };
|
|---|
| 23 | } else {
|
|---|
| 24 | return {
|
|---|
| 25 | done: true
|
|---|
| 26 | };
|
|---|
| 27 | }
|
|---|
| 28 | }
|
|---|
| 29 | };
|
|---|
| 30 | return iter;
|
|---|
| 31 | }
|
|---|
| 32 | var _default = exports.default = iteratorProxy; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.