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

kissy 1.4.0 ev.data undefined #515

Closed
luics opened this issue Nov 27, 2013 · 3 comments
Closed

kissy 1.4.0 ev.data undefined #515

luics opened this issue Nov 27, 2013 · 3 comments

Comments

@luics
Copy link

luics commented Nov 27, 2013

chrome 31.0.1650.57 kissy 1.4.0, ev.data undefined;1.3.0 下正常

Event.on(window, 'message', function(ev) {
            console.log('[host page]', ev.data, ev);
});

详见demo http://demo.tmall.net/u/guidao/bugs/postMessage-k14.html

luics pushed a commit to luics/storage that referenced this issue Nov 27, 2013
@yiminghe
Copy link
Member

ev.originalEvent.data,这种事件太多了,不复制到 ev 了

@luics
Copy link
Author

luics commented Nov 28, 2013

了解了。

@luics
Copy link
Author

luics commented Nov 28, 2013

感觉这个改动影响面还是比较大的,应该在这个文档说明一下 http://docs.kissyui.com/1.4/docs/html/guideline/upgrade.html

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

No branches or pull requests

2 participants