简体   繁体   中英

Jquery git version

I'm using jquery git version ( http://code.jquery.com/jquery-git.js ) in my javascript and today when I opened the page, nothing works. It has worked for the last 3 years. Anyone else gets this? It looks like there has been updated at 2019-04-29T20:56Z. I know it unstable version, but is it I or anyone else also has this? When I use the 3.4 version, everything works fine. I'm using firefox and first error in console says TypeError: $.isArray is not a function[Learn More] and second

jQuery.Deferred exception: $(...).dialog is not a function @file:///C:/xxxx/xxx/xxx.js:20:19
mightThrow@http://code.jquery.com/jquery-git.js:3530:21
resolve/</process<@http://code.jquery.com/jquery-git.js:3598:12
 undefined

Git version currently links to 4.0 pre, which is a large overhaul of jQuery to reflect updates to JavaScript. $.isArray was thus deprecated in 3.2, and consequently removed in 4.0, because JavaScript now has Array.isArray .

$.fn.dialog was never a part of jQuery that I know of (you might be thinking of jQuery UI?)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM