메시지 맵을 생성할 때 발생하는 버그 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6882 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2009-10-23 01:55:27 +00:00
parent 2c76ce0757
commit d2506cd198

View file

@ -139,7 +139,7 @@ _app_base = {
fn._fn = val;
if (RegExp.$2) { // is hooker?
if ($.isArray(msgs[RegExp.$1])) msgs[RegExp.$1] = [];
if (!$.isArray(msgs[RegExp.$1])) msgs[RegExp.$1] = [];
msgs[RegExp.$1].push(fn);
} else { // register only one main function
msgs[RegExp.$1] = fn;