(value, options, plugins, name)
| 41 | exports.cache = {}; |
| 42 | |
| 43 | function applyPlugins(value, options, plugins, name) { |
| 44 | return plugins.reduce(function(value, plugin) { |
| 45 | return plugin[name] ? plugin[name](value, options) : value; |
| 46 | }, value); |
| 47 | } |
| 48 | |
| 49 | function findReplacementFunc(plugins, name) { |
| 50 | var eligiblePlugins = plugins.filter(function(plugin) { |
no outgoing calls
no test coverage detected
searching dependent graphs…