jquery-fx.js 不是已经是 jquery.js 的一部分了吗?

发布于 2024-09-10 13:27:30 字数 127 浏览 2 评论 0原文

我在一个项目中看到 jquery-fx.js 正在链接,但不是用于 show()、hide()、animate() 等,所以 < code>jquery.js 已经有它们了吗?

I saw in a project that jquery-fx.js is being linked, but isn't it for show(), hide(), animate() etc, so jquery.js already has them?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

诺曦 2024-09-17 13:27:30

是的,effects 不久前被引入了 jQuery 核心,你可以在这里看到 API 的部分: http://api.jquery.com/category/effects /

如果他们引用的是一个不同文件,而该文件恰好被称为jquery-fx.js...那么,没有办法知道它是什么除非您发布该文件的内容,否则就会发生那里。

如果您好奇的话,最新版本为 1.3.2,它仍然被称为 fx.js (如果您包含单个文件/模块,而不是像大多数人那样包含整个库)。您可以在此处查看代码的样子: http://github.com/ jquery/jquery/tree/1.3.2/src

Yes, effects was pulled into jQuery core some time ago, you can see that chunk of the API here: http://api.jquery.com/category/effects/

If they're referring to a different file that just happens to be called jquery-fx.js...well, there's no way to tell what's happening there unless you post the contents of that file.

In case your curious, it was still called fx.js as recent as 1.3.2 (if you're including individual files/modules, instead of the whole library as most do). You can see what the code looked like here: http://github.com/jquery/jquery/tree/1.3.2/src

茶底世界 2024-09-17 13:27:30

正如评论中所述,jquery-fx.js 实际上是 jRails 的一部分。

As in the comment, jquery-fx.js is actually part of jRails.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文