This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/async-foreach/dist/ba-foreach.min.js

4 lines
432 B
JavaScript
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
/* JavaScript Sync/Async forEach - v0.1.2 - 1/10/2012
* http://github.com/cowboy/javascript-sync-async-foreach
* Copyright (c) 2012 "Cowboy" Ben Alman; Licensed MIT */
(function(a){a.forEach=function(a,b,c){var d=-1,e=a.length>>>0;(function f(g){var h,j=g===!1;do++d;while(!(d in a)&&d!==e);if(j||d===e){c&&c(!j,a);return}g=b.call({async:function(){return h=!0,f}},a[d],d,a),h||f(g)})()}})(typeof exports=="object"&&exports||this)