|
|
@ -11,10 +11,9 @@ |
|
|
|
if (moduleInjection[xtype] != null) { |
|
|
|
if (moduleInjection[xtype] != null) { |
|
|
|
_global.console && console.error("module: [" + xtype + "] 已经注册过了"); |
|
|
|
_global.console && console.error("module: [" + xtype + "] 已经注册过了"); |
|
|
|
} |
|
|
|
} |
|
|
|
var key; |
|
|
|
|
|
|
|
for (var k in moduleInjectionMap) { |
|
|
|
for (var k in moduleInjectionMap) { |
|
|
|
if(cls[k]){ |
|
|
|
if(cls[k]){ |
|
|
|
for (key in cls[k]) { |
|
|
|
for (var key in cls[k]) { |
|
|
|
if (!moduleInjectionMap[k][key]) { |
|
|
|
if (!moduleInjectionMap[k][key]) { |
|
|
|
moduleInjectionMap[k][key] = []; |
|
|
|
moduleInjectionMap[k][key] = []; |
|
|
|
} |
|
|
|
} |
|
|
|