Comparing version 0.1.0 to 0.1.1
@@ -140,2 +140,3 @@ var Module = require('./module'); | ||
if ((provider[2] === 'factory' || provider[2] === 'type') && provider[1].$scope) { | ||
/*jshint -W083 */ | ||
forceNewInstances.forEach(function(scope) { | ||
@@ -142,0 +143,0 @@ if (provider[1].$scope.indexOf(scope) !== -1) { |
{ | ||
"name": "didi", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Dependency Injection for JavaScript", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "mocha --compilers coffee:coffee-script test/*" | ||
"test": "grunt test", | ||
"all": "grunt" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/Nikku/di-di.git" | ||
"url": "git://github.com/nikku/didi.git" | ||
}, | ||
@@ -21,8 +22,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"chai": "~1.7", | ||
"coffee-script": "~1.6", | ||
"grunt": "~0.4", | ||
"grunt-cli": "^1.2.0", | ||
"grunt-contrib-jshint": "~0.6", | ||
"grunt-simple-mocha": "~0.4", | ||
"grunt-contrib-jshint": "~0.6", | ||
"mocha": "~1.12", | ||
"chai": "~1.7", | ||
"coffee-script": "~1.6" | ||
"mocha": "~1.12" | ||
}, | ||
@@ -29,0 +31,0 @@ "author": "Vojta Jina <vojta.jina@gmail.com>", |
# Dependency Injection for JavaScript | ||
[![Build Status](https://travis-ci.org/Nikku/didi.png?branch=master)](https://travis-ci.org/Nikku/didi) | ||
[![Build Status](https://travis-ci.org/nikku/didi.png?branch=master)](https://travis-ci.org/nikku/didi) | ||
@@ -175,3 +175,3 @@ > A fork of [node-di](node-di) that adds support for the minification save array notation. | ||
Binding - a mapping between a Token and a Provider | ||
Module - a set of bindings. A Module is used to configure an Injector and defines which Objects can be resolved via an Injector. Module can also be used to override Object definitions (for reconfiguration or mocking purposes). | ||
Module - a set of bindings. A Module is used to configure an Injector and defines which Objects can be resolved via an Injector. Module can also be used to override Object definitions (for reconfiguration or mocking purposes). | ||
--> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15910
247
7