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

建议解除对 jquery 的依赖 #60

Open
JrIdeA opened this issue Nov 13, 2014 · 1 comment
Open

建议解除对 jquery 的依赖 #60

JrIdeA opened this issue Nov 13, 2014 · 1 comment

Comments

@JrIdeA
Copy link

JrIdeA commented Nov 13, 2014

对jquery的依赖感觉太重了,如果网站没使用框架或使用别的基础框架就还需要额外引入jquery这样感觉不大好了

@hustKiwi
Copy link
Member

对,确实有依赖,当时的考虑是这个项目多少会用些utils方法,jQuery恰巧提供了,如$.extend,$.ajax等。并且swf文件的加载需用到DOM操作,当时图方便,且考虑到内部项目全部依赖于jQuery,就没有刻意去解除这个依赖。

今后有时间可以做这个事情,但暂时优先级也不会太高。

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

No branches or pull requests

2 participants