intravenous icon indicating copy to clipboard operation
intravenous copied to clipboard

A lightweight inversion of control container for Javascript.

Results 11 intravenous issues
Sort by recently updated
recently updated
newest added

If used inside a web worker (shared or dedicated), it throws the following error: `ReferenceError: global is not defined` This happens because on worker there is no window object. The...

E.g. consider you authorize requests and have user instance which describes a current user during the request. It would be nice to have an option to store it in container...

This PR fixes a memory leak found in factories, where their container was never released from its parent container, add also specs to verify the fix The following code will...

How to store a class instead an instance?

The Problem statement > If I want to retrieve an instance of MyCustomClass, I have to first register it with a key name. For that I will have to require...

How about creating an `extends` method that creates an instance of base class and then attaches it to the prototype property of the child class? Note: Need to make sure...

Suppose I want to register more then one binding for a Type and use different binding depending on "parameter or type" is it possible. So for eg. I have 3...

I have some strange behavior (maybe its ok, but strange) (all examples in CoffeeScript): first - create class `Foo` ``` module.exports = class Foo # intravenous injection @$inject = ['Helper']...

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()...

I'm curious whether you think it is a bad idea to inject based on function parameter names instead of using func.$inject. Specifically, are there any pitfalls you can see for...