diff --git a/di.js b/di.js index c740051..0126bfe 100644 --- a/di.js +++ b/di.js @@ -4,31 +4,6 @@ * @author Mohammad Fares */ -var is = require('is_js'); - -/** - * Dependencies - * @type {Object} - */ -var dependency = {}; - -/** - * Get a specific dependency - * - * @param {String} key - * @return {Object|Null} return null if not found - */ -module.exports.get = function(key) { - - // Not found - if (is.not.propertyDefined(dependency, key)) { - return null; - } - - return dependency[key]; - -}; - /** * Set/Add a dependency * @@ -37,7 +12,6 @@ module.exports.get = function(key) { */ module.exports.set = function(key, value) { - dependency[key] = value; module.exports[key] = value; };