Version 1
[yaffs-website] / node_modules / grunt-uncss / node_modules / async / internal / concat.js
diff --git a/node_modules/grunt-uncss/node_modules/async/internal/concat.js b/node_modules/grunt-uncss/node_modules/async/internal/concat.js
new file mode 100644 (file)
index 0000000..f2ffb53
--- /dev/null
@@ -0,0 +1,18 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+    value: true
+});
+exports.default = concat;
+function concat(eachfn, arr, fn, callback) {
+    var result = [];
+    eachfn(arr, function (x, index, cb) {
+        fn(x, function (err, y) {
+            result = result.concat(y || []);
+            cb(err);
+        });
+    }, function (err) {
+        callback(err, result);
+    });
+}
+module.exports = exports["default"];
\ No newline at end of file