Comparing version 0.3.0-beta-1 to 0.3.0-beta-2
@@ -42,8 +42,8 @@ // Generated by CoffeeScript 1.8.0 | ||
module.exports = function(options) { | ||
var basePath, config, di, modules, opts, parent; | ||
config = options.config, basePath = options.basePath, opts = options.opts, parent = options.parent; | ||
var basePath, config, di, modules, opts, parents; | ||
config = options.config, basePath = options.basePath, opts = options.opts, parents = options.parents; | ||
if (config == null) { | ||
throw new TypeError('No configuration was provided for loadConfig'); | ||
} | ||
di = new Container(opts, parent); | ||
di = new Container(opts, parents); | ||
modules = config.modules || {}; | ||
@@ -50,0 +50,0 @@ Object.keys(modules).forEach(function(key) { |
{ | ||
"name": "amend", | ||
"version": "0.3.0-beta-1", | ||
"version": "0.3.0-beta-2", | ||
"description": "Dependency injection module and IoC container.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
21040