fix bug, if events is defined with namespace,修复使用命名空间定义的对象无法被调用的问题

fix bug, if events is defined with namespace,修复使用命名空间定义的对象无法被调用的问题
Merge pull request #148 from mengyou658/master

fix bug: if events is defined with namespace.