3.0 Deprecations and removals

Đang mở
#970 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
jquery
Lĩnh vực
documentation

Hướng nghiên cứu

Rà soát các mục chưa được đánh dấu dựa trên jQuery 3.0 upgrade guide, đặc biệt là jQuery.expr[":"] và jQuery.expr.filters, khả năng tương thích của Deferred với Promises/A+, các thenable của jQuery.when() và hoạt ảnh bằng requestAnimationFrame. Sử dụng các issue được liên kết và các mục checklist hiện có để xác định những thay đổi tài liệu còn lại; hoàn tất nghĩa là mọi mục áp dụng đều đã được giải quyết hoặc được xem xét rõ ràng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I'll list them all here including ones we've already completed or may not need to address, just to make sure none slip through the cracks. Per https://jquery.com/upgrade-guide/3.0/ we have these:

Deprecated
  • jQuery.fx.interval (PR #969)
  • .toggleClass() and .toggleClass(Boolean)
  • jQuery.unique renamed to jQuery.uniqueSort
  • jQuery.parseJSON
  • .ready() signatures other than jQuery( fn )
  • easing parameters (issue #766)
  • .bind() and .delegate() (PR #948)
  • jQuery.expr[":"] and jQuery.expr.filters (issue #1224)
Removed
  • jQuery().context and .selector (needs change to text, see #1030)
  • .andSelf()
  • jqXHR.success, .error, and .complete (there's proper text at https://api.jquery.com/jQuery.ajax/#jqXHR)
  • $(document).on("ready", fn) (never documented?)
  • .load(), .unload(), and .error() (tweaked in #1223 to separate event descriptions from shorthand pages)
  • event.pageX and event.pageY normalization (not sure we need changes)
Features
  • jQuery.escapeSelector
  • jQuery.ready promise-consumable (issue #205, PR #983 (was: #530))
  • jQuery.Deferred Promises/A+ compat
  • jQuery.when() consumes thenables (issue #921)
  • .animate() uses requestAnimationFrame
  • settings argument signature for jQuery.get() and .post() (showing 1.12?)
  • SVG support for .addClass(), .removeClass(), and .toggleClass() (showing 1.12?)
Ngôn ngữ chính
HTML
Star
324
Fork
259
Merge trung bình
1 ngày 30 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của jquery/api.jquery.com

Tất cả issue của jquery/api.jquery.com

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.