Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Jul 13, 2020
1 parent 04ac593 commit 0d6e056
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
29 changes: 17 additions & 12 deletions lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,29 @@
return arr2;
}

function _createForOfIteratorHelperLoose(o) {
var i = 0;
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
var it;

if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) return function () {
if (i >= o.length) return {
done: true
};
return {
done: false,
value: o[i++]
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it) o = it;
var i = 0;
return function () {
if (i >= o.length) return {
done: true
};
return {
done: false,
value: o[i++]
};
};
};
}

throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}

i = o[Symbol.iterator]();
return i.next.bind(i);
it = o[Symbol.iterator]();
return it.next.bind(it);
}

function createCommonjsModule(fn, module) {
Expand Down
Loading

0 comments on commit 0d6e056

Please sign in to comment.