diff options
author | eric thul <thul.eric@gmail.com> | 2016-03-12 14:33:55 -0500 |
---|---|---|
committer | eric thul <thul.eric@gmail.com> | 2016-03-12 14:33:55 -0500 |
commit | 845f3ec3c5b13a47d60b9ff2be14bf41fb5c4734 (patch) | |
tree | f27800de3576466ea4d5502d9adb9cd57a583715 /src/PursLoader/Plugin.js | |
parent | 87145c4d29e9ab45d04c62d19e8697527728549f (diff) | |
download | purs-loader-845f3ec3c5b13a47d60b9ff2be14bf41fb5c4734.tar.gz purs-loader-845f3ec3c5b13a47d60b9ff2be14bf41fb5c4734.tar.zst purs-loader-845f3ec3c5b13a47d60b9ff2be14bf41fb5c4734.zip |
Handling dependencies
Diffstat (limited to 'src/PursLoader/Plugin.js')
-rw-r--r-- | src/PursLoader/Plugin.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/PursLoader/Plugin.js b/src/PursLoader/Plugin.js index 90feb33..ded6df5 100644 --- a/src/PursLoader/Plugin.js +++ b/src/PursLoader/Plugin.js | |||
@@ -2,12 +2,6 @@ | |||
2 | 2 | ||
3 | // module PursLoader.Plugin | 3 | // module PursLoader.Plugin |
4 | 4 | ||
5 | function getFn(nothing, just, map, key) { | ||
6 | var value = map.get(key); | ||
7 | return value === undefined ? nothing : just(value); | ||
8 | } | ||
9 | exports.getFn = getFn; | ||
10 | |||
11 | function dependenciesOfFn(left, right, graph, node) { | 5 | function dependenciesOfFn(left, right, graph, node) { |
12 | try { | 6 | try { |
13 | var dependencies = graph.dependenciesOf(node); | 7 | var dependencies = graph.dependenciesOf(node); |