Comparing version 0.3.0-beta-7 to 0.3.0-beta-8
@@ -123,2 +123,19 @@ // Generated by CoffeeScript 1.9.3 | ||
Container.prototype.shutdown = function() { | ||
var j, len, p, ref, results; | ||
Object.keys(this._instances).forEach((function(_this) { | ||
return function(key) { | ||
var base; | ||
return typeof (base = _this._instances[key]).__amendShutdown === "function" ? base.__amendShutdown() : void 0; | ||
}; | ||
})(this)); | ||
ref = this._parents; | ||
results = []; | ||
for (j = 0, len = ref.length; j < len; j++) { | ||
p = ref[j]; | ||
results.push(p.shutdown()); | ||
} | ||
return results; | ||
}; | ||
Container.prototype._register = function(type, name, value) { | ||
@@ -125,0 +142,0 @@ return this._registrations[name] = { |
{ | ||
"name": "amend", | ||
"version": "0.3.0-beta-7", | ||
"version": "0.3.0-beta-8", | ||
"description": "Dependency injection module and IoC container.", | ||
@@ -14,6 +14,6 @@ "main": "index.js", | ||
"devDependencies": { | ||
"chai": "^1.9.1", | ||
"coffee-script": "~1.8.0", | ||
"mocha": "^1.20.1", | ||
"mocha-gwt": "^0.1.4" | ||
"chai": "^3.2.0", | ||
"coffee-script": "^1.9.0", | ||
"mocha": "^2.0.0", | ||
"mocha-gwt": "^0.2.0" | ||
}, | ||
@@ -39,6 +39,3 @@ "scripts": { | ||
"author": "Ludwig Magnusson", | ||
"license": "ISC", | ||
"dependencies": { | ||
"coffee-script": "^1.9.3" | ||
} | ||
"license": "ISC" | ||
} |
# amend | ||
[![Build Status](https://travis-ci.org/TheLudd/mocha-gwt.svg)](https://travis-ci.org/TheLudd/mocha-gwt) | ||
[![Build Status](https://travis-ci.org/TheLudd/amend.svg)](https://travis-ci.org/TheLudd/amend) | ||
[![npm version](https://badge.fury.io/js/amend.svg)](http://badge.fury.io/js/amend) | ||
@@ -5,0 +6,0 @@ Amend is a dependency-injection framework for use in node and in the browser. Amend aims to have no impact on the code you write and to minimize configuration as much as possible. |
Sorry, the diff of this file is not supported yet
23172
0
336
165
- Removedcoffee-script@^1.9.3
- Removedcoffee-script@1.12.7(transitive)