Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Deferred: Backwards-compatible standards interoperability#1996

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Closed
Changes from1 commit
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
863b9bc
Deferred: [tests] Standard promise interoperability
gibson042Dec 29, 2014
d9d3657
Deferred: Run the Promises/A+ test suite
mgolSep 11, 2014
f986cab
Deferred: [code] Errors in .done callbacks don't stop .then handlers
gibson042Jan 5, 2015
ec2ee79
Deferred: Update tests for asynchronicity and spec compliance
gibson042Jan 5, 2015
b21e76f
Deferred: Pass explicitly-set context to .then callbacks
gibson042Jan 6, 2015
f7e36bf
Deferred: Pass Promises/A+ section 2.3.1
gibson042Jan 6, 2015
02fbbe2
Deferred: Pass Promises/A+ section 2.3.3.1
gibson042Jan 6, 2015
ba97c51
Deferred: Pass Promises/A+ section 2.3.3.3.1 (resolve-then-throw case)
gibson042Jan 6, 2015
85f32dd
Deferred: Pass Promises/A+ section 2.3.3.3.3
gibson042Jan 6, 2015
747421d
Deferred: Pass Promises/A+ section 2.3.3.3.4.1
gibson042Jan 6, 2015
79276be
Deferred: Pass Promises/A+ section 2.3.4
gibson042Jan 6, 2015
0da2b1a
Deferred: Properly handle thenable/progress interactions
gibson042Jan 12, 2015
43e71b3
Deferred: Standards-compliant jQuery.when tests
gibson042Jan 15, 2015
d838eb4
Tests: Clean up jQuery.when tests
gibson042Jan 18, 2015
faf1adf
Deferred: Rename jQuery.when variable for clarity
gibson042Jan 18, 2015
447cf3d
Deferred: Accept standard Promises in jQuery.when
gibson042Jan 18, 2015
694374c
Deferred: Clarify backcompat and error text
gibson042Feb 25, 2015
3b4d845
Deferred: Test that pipe is a function
gibson042Mar 20, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Deferred: Pass Promises/A+ section 2.3.3.3.3
Ignore double-resolution attempts.   raw     gz Sizes250582  74046 dist/jquery.js 84978  29614 dist/jquery.min.js   raw     gz Compared to master @66e1b6b +3657   +827 dist/jquery.js  +785   +219 dist/jquery.min.js   raw     gz Compared to last run  +211    +53 dist/jquery.js   +10     +8 dist/jquery.min.js
  • Loading branch information
@gibson042
gibson042 committedJan 6, 2015
commit85f32ddf2ac945d851aad23c5bc3e24f53e738f1
8 changes: 8 additions & 0 deletionssrc/deferred.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -68,6 +68,14 @@ jQuery.extend({
args = arguments,
fn = function() {
var returned, then;

// Support: Promises/A+ section 2.3.3.3.3
// https://promisesaplus.com/#point-59
// Ignore double-resolution attempts
if ( depth < maxDepth ) {
return;
}

try {
returned = handler.apply( that, args );

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp