Comparing version 0.0.19 to 0.0.20
@@ -81,3 +81,3 @@ 'use strict'; | ||
if (this.$modules[name].loading) { | ||
if (!isDependentOf(this.$modules, callee, name)) {//this.$modules[callee].dependent.indexOf(name) < 0) { | ||
if (!isDependentOf(this.$modules, name, callee)) { | ||
this.$modules[name].callbacks.push(callback); | ||
@@ -84,0 +84,0 @@ return; |
{ | ||
"name": "r42", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Dependency injection done right.", | ||
@@ -5,0 +5,0 @@ "author": "Quentin Raynaud <npm@qraynaud.eu>", |
@@ -60,3 +60,3 @@ ## r42 | ||
// BEFORE being used in the object | ||
shMod: 'sh/module', // refers to 'shortcut/module' | ||
shMod: 'sh/module', // refers to 'sh/module' | ||
sh: 'shortcut', | ||
@@ -63,0 +63,0 @@ shMod2: 'sh/module2', // refers to 'shortcut/module2' |
14425