A module should be able to see what Interface a dependency is going to conform to. For example, it should be able to look at the populated objects on 'freedom' and see which ones can provide social / transport capabilities using something like:
for (var provider in freedom) {
if (freedom[provider].api === 'social') {
...
}
}
A module should be able to see what Interface a dependency is going to conform to. For example, it should be able to look at the populated objects on 'freedom' and see which ones can provide social / transport capabilities using something like: