Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aspect 不能添加命名空间 #9

Closed
popomore opened this issue Jan 14, 2013 · 2 comments
Closed

aspect 不能添加命名空间 #9

popomore opened this issue Jan 14, 2013 · 2 comments
Labels

Comments

@popomore
Copy link
Member

overlay.before('show.overlay', callback);

getMethod 这里可以做一下处理

function getMethod(host, methodName) {
    var method = host[methodName];
    ...
}
@lifesinger
Copy link
Member

好,这个我考虑下
aspect 目前实现感觉不太优雅,想办法ing

On Mon, Jan 14, 2013 at 6:48 PM, Haoliang Gao notifications@github.comwrote:

overlay.before('show.overlay', callback);

getMethod 这里可以做一下处理

function getMethod(host, methodName) {
var method = host[methodName];
...
}


Reply to this email directly or view it on GitHubhttps://github.com//issues/9.

王保平 / 玉伯(射雕)
送人玫瑰手有余香

@popomore
Copy link
Member Author

aspect 是由内部 trigger,trigger 的事件也不能加命名空间,所以也没必要监听命名空间。

之前的场景忘了,想起来再改。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants