intravenous icon indicating copy to clipboard operation
intravenous copied to clipboard

Best practice to combine Intravenous with revealing module pattern.

Open damiga opened this issue 9 years ago • 0 comments

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

damiga avatar Nov 09 '14 08:11 damiga