Skip to content
This repository was archived by the owner on Jan 25, 2021. It is now read-only.
This repository was archived by the owner on Jan 25, 2021. It is now read-only.

Best practice to combine Intravenous with revealing module pattern. #10

Description

@damiga

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions