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

icomet是php环境开发下比较便捷的一个解决方案,能否具体详细下文档 #48

Open
nihaoqkl opened this issue Feb 3, 2015 · 5 comments

Comments

@nihaoqkl
Copy link

nihaoqkl commented Feb 3, 2015

看了icomet_demo貌似还有不少疑问,不过完成一个项目是没有问题了

是否可以完善下文档相关参数说明(比如:自定义一些参数的规则(传参field))。毕竟不是C++的人员

@ideawu
Copy link
Owner

ideawu commented Feb 3, 2015

你好, 谢谢支持. 因为 icomet 比较简单, 要解决的场景也比较明确, 所以相关的文档只有 wiki: https://github.com/ideawu/icomet/wiki

@ideawu
Copy link
Owner

ideawu commented Feb 3, 2015

如果你有具体问题, 可以直接提问. 可以加入qq群: 389083972

@nihaoqkl
Copy link
Author

nihaoqkl commented Feb 5, 2015

8000端口的poll 用ajax请求出现问题
Resource interpreted as Script but transferred with MIME type text/html
后端又无法自己修改header 如何解决此类问题~~貌似800端header是text/html

@ideawu
Copy link
Owner

ideawu commented Feb 5, 2015

Hi, 未来有可能会改成 text/json, 现在你可以让你使用的 js api(如 jquery) 忽略返回的 content-type, 然后自己 eval json.

@nihaoqkl
Copy link
Author

nihaoqkl commented Feb 5, 2015

现在两个问题,,1跨域名需要jsonp 2jsonp实现原理貌似没有忽略吧!
测试用的官方demo里icomet.js,jquery ajax jsonp

另外建议是否可以poll自定义参数type=json|xml方式

@nihaoqkl nihaoqkl closed this as completed Feb 5, 2015
@nihaoqkl nihaoqkl reopened this Feb 5, 2015
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