mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
#18646138 JAF에서 BEFORE 후커의 반환값을 제대로 처리하지 못하던 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7244 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
81d1ded1cf
commit
2661914c07
1 changed files with 1 additions and 2 deletions
|
|
@ -240,8 +240,7 @@ _app_base = {
|
|||
if (!/^(?:AFTER_|BEFORE_)/.test(msg)) { // top level function
|
||||
return vRet;
|
||||
} else {
|
||||
if (typeof vRet == 'undefined') vRet = true;
|
||||
return $.isArray(vRet)?$.inArray(false, vRet):!!vRet;
|
||||
return $.isArray(vRet)?($.inArray(false, vRet)<0):((typeof vRet=='undefined')?true:!!vRet);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue