aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/PursLoader/Plugin.js
blob: ded6df551f556095ef32bc6ac751fe5f4a526ce8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14



                           









                                                     
'use strict';

// module PursLoader.Plugin

function dependenciesOfFn(left, right, graph, node) {
  try {
    var dependencies = graph.dependenciesOf(node);
    return right(dependencies);
  }
  catch (error) {
    return left(error);
  }
}
exports.dependenciesOfFn = dependenciesOfFn;