From 03bd6903e15d1da0f73cc9128d4cffe764235c19 Mon Sep 17 00:00:00 2001 From: John Dvorak Date: Wed, 11 May 2016 16:11:46 -0700 Subject: [PATCH] (fix) Container#register deprecated; replace with #spec --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 0bf44d6..0d8a4f9 100644 --- a/lib/index.js +++ b/lib/index.js @@ -17,5 +17,5 @@ exports = module.exports = function common(id) { exports.used = function(container) { // Register specs so objects can be auto-wired by interface. - container.register('logger'); + container.spec('logger'); }