简体   繁体   English

jQuery元数据插件已弃用。 有什么选择?

[英]The jQuery Metadata Plugin is deprecated. What is the alternative?

I read at http://blog.jquery.com/2011/04/16/official-plugins-a-change-in-the-roadmap/ the following announcement: 我在http://blog.jquery.com/2011/04/16/official-plugins-a-change-in-the-roadmap/中阅读了以下公告:

The Metadata plugin will be deprecated, in favor of similar functionality provided by jQuery 1.4.3 and above. 不推荐使用Metadata插件,而支持jQuery 1.4.3及更高版本提供的类似功能。

What is the 是什么

similar functionality 类似功能

that jQuery provides as an alternative from version 1.4.3 and on? jQuery作为版本1.4.3及更高版本的替代产品?

I upgraded to the latest version of jQuery available but kept this deprecated Metadata plugin in my code. 我升级到可用的最新版本的jQuery,但在我的代码中保留了此不推荐使用的Metadata插件。 I removed the jQuery Migrate plugin from my code and everything works correctly, meaning that even though the Metadata plugin is officially deprecated, it does not use jQuery code or methods that are incompatible with the latest version of jQuery. 我从代码中删除了jQuery Migrate插件,并且一切正常,这意味着即使正式弃用了Metadata插件,它也不会使用与最新版本的jQuery不兼容的jQuery代码或方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 __proto__已弃用。 什么是快速和跨浏览器替代? - __proto__ deprecated. What is fast and cross browser alternative? 不推荐使用 jQuery 切换功能。 我应该用什么代替? - jQuery toggle function is deprecated. What should I use instead? jQuery的live()已弃用。 我现在要用什么? - jquery's live() is deprecated. What do I use now? Observable `of` 已弃用。 什么是等价物? - Observable `of` deprecated. What is the equivalent? XMLHttpRequest 已弃用。 用什么代替? - XMLHttpRequest is deprecated. What to use instead? Tapable.plugin已弃用。 在`.hooks`上使用新的API - Tapable.plugin is deprecated. Use new API on `.hooks` instead 如何找出导致与“使用变异事件”相关的jQuery相关消息的原因。 使用MutationObserver代替“? - How do I find out what causes jQuery-related message of “Use of Mutation Events is deprecated. Use MutationObserver instead”? KeyboardEvent.keyCode 已弃用。 这在实践中意味着什么? - KeyboardEvent.keyCode deprecated. What does this mean in practice? 不建议在主线程上使用同步XMLHttpRequest。 在打开新页面之前可以发送请求吗? - Synchronous XMLHttpRequest on the main thread is deprecated. Any alternative to send request before opening new page? jQuery:使用不推荐使用的.toggle()替代方法 - jQuery : Use an alternative to .toggle() which is deprecated
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM