You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/org/mvcexpress/core/ProxyMap.as
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ public class ProxyMap implements IProxyMap {
71
71
use namespace pureLegsCore;
72
72
if (proxyObject.hostModuleName) {
73
73
if (proxyObject.hostModuleName != moduleName) {
74
-
throwError("Proxy cant be hosted in one module("+ proxyObject.hostModuleName +") and then mappend in another("+ moduleName +"). > proxyObject : "+ proxyObject +", injectClass : "+ injectClass +", name : "+name);
74
+
throwError("Proxy cant be hosted in one module("+ proxyObject.hostModuleName +") and then mapped in another("+ moduleName +"). > proxyObject : "+ proxyObject +", injectClass : "+ injectClass +", name : "+name);
75
75
}
76
76
}
77
77
proxyObject.messenger = messenger;
@@ -125,9 +125,9 @@ public class ProxyMap implements IProxyMap {
125
125
}
126
126
127
127
/**
128
-
* Get mapped proxy. This is needed to get proxy manualy instead of inject it automaticaly. <br>
129
-
* You might wont to get proxy manualy then your proxy has dynamic name. <br>
130
-
* Also you might want to get proxy manualy if your proxy is needed only in rare cases or only for short time.
128
+
* Get mapped proxy. This is needed to get proxy manually instead of inject it automatically. <br>
129
+
* You might wont to get proxy manually then your proxy has dynamic name. <br>
130
+
* Also you might want to get proxy manually if your proxy is needed only in rare cases or only for short time.
131
131
* (for instance - you need it only in onRegister() function.)
132
132
* @param injectClass Optional class to use for injection, if null proxyObject class is used. It is helpful if you want to map proxy interface or subclass.
133
133
* @param name Optional name if you need more then one proxy instance of same class.
@@ -250,7 +250,7 @@ public class ProxyMap implements IProxyMap {
250
250
251
251
// get rules. (by now rules for this class must be created.)
252
252
var rules:Vector.<InjectRuleVO>= ProxyMap.classInjectRules[pendingInjection.signatureClass];
253
-
var pendingInject:Object= pendingInjection.pendingObject
253
+
var pendingInject:Object= pendingInjection.pendingObject;
254
254
for (var j:int=0; j < rules.length; j++) {
255
255
if (rules[j].injectClassAndName == injectClassAndName) {
256
256
@@ -290,12 +290,12 @@ public class ProxyMap implements IProxyMap {
290
290
291
291
for (var i:int=0; i < factoryNodes.length(); i++) {
292
292
var node:XML= factoryNodes[i];
293
-
varnodeNome:String= node.name();
294
-
if (nodeNome=="variable"||nodeNome=="accessor") {
293
+
varnodeName:String= node.name();
294
+
if (nodeName=="variable"||nodeName=="accessor") {
295
295
var metadataList:XMLList= node.metadata;
296
296
for (var j:int=0; j < metadataList.length(); j++) {
297
-
nodeNome= metadataList[j].@name;
298
-
if (nodeNome=="Inject") {
297
+
nodeName= metadataList[j].@name;
298
+
if (nodeName=="Inject") {
299
299
var injectName:String="";
300
300
varargs:XMLList= metadataList[j].arg;
301
301
for (var k:int=0; k <args.length(); k++) {
@@ -316,8 +316,8 @@ public class ProxyMap implements IProxyMap {
316
316
317
317
/**
318
318
* INTERNAL FRAMEWORK FUNCTION. Returns proxy mapped with classname and name.
Copy file name to clipboardExpand all lines: src/org/mvcexpress/core/messenger/HandlerVO.as
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ public class HandlerVO {
15
15
// (HandlerVO is not removed instantly, only marked for removal. It is removed only with next message call of needed type, this message not always comes. :\ )
16
16
publicvar handler:Function;
17
17
18
-
/** FOR INTERNAL USE ONLY. shows if message is handled by Cammand. */
18
+
/** FOR INTERNAL USE ONLY. shows if message is handled by Command. */
19
19
publicvar isExecutable:Boolean;
20
20
21
21
/** FOR INTERNAL USE ONLY. Variable to store class there handler came from. (for debugging) */
0 commit comments