intravenous
intravenous copied to clipboard
Best practice to combine Intravenous with revealing module pattern.
Hi Ron, I have no issue working with intravenous in the 'regular' pass a function way. Assuming i'm using the following to create a namespace and abstraction. module.exports = function() { function initialize(dependency 1, depedency2) {...} function runInternal() { // will use the dependencies internally } return { run : runInternal } }();
what would be the best way to use intravenous? how would I register it?
-- Dan