aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PursLoader/Glob.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/PursLoader/Glob.js')
-rw-r--r--src/PursLoader/Glob.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/PursLoader/Glob.js b/src/PursLoader/Glob.js
deleted file mode 100644
index 960ae9a..0000000
--- a/src/PursLoader/Glob.js
+++ /dev/null
@@ -1,18 +0,0 @@
1'use strict';
2
3// module PursLoader.Glob
4
5var glob = require('glob');
6
7var async = require('async');
8
9function globAllFn(patterns, errback, callback) {
10 return function(){
11 async.map(patterns, glob, function(error, result){
12 if (error) errback(new Error(error))();
13 else callback(result)();
14 });
15 };
16}
17
18exports.globAllFn = globAllFn;