Skip to content

Commit b677541

Browse files
committed
Deferred: produce and consume standard thenables
Deferred.then is now aligned with the emerging standard. Objects that implement the thenable interface will also be properly consumed. We use Q to test interoperability. Fixes #14510
1 parent b807aed commit b677541

File tree

9 files changed

+2128
-50
lines changed

9 files changed

+2128
-50
lines changed

Gruntfile.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ module.exports = function( grunt ) {
5555
"sizzle/dist": "sizzle/dist",
5656
"sizzle/LICENSE.txt": "sizzle/LICENSE.txt",
5757

58+
"q/q.js": "q/q.js",
59+
"q/LICENSE.txt": "q/LICENSE",
60+
5861
"qunit/qunit.js": "qunitjs/qunit/qunit.js",
5962
"qunit/qunit.css": "qunitjs/qunit/qunit.css",
6063
"qunit/MIT-LICENSE.txt": "qunitjs/MIT-LICENSE.txt",

external/q/LICENSE.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright 2009–2014 Kristopher Michael Kowal. All rights reserved.
2+
Permission is hereby granted, free of charge, to any person obtaining a copy
3+
of this software and associated documentation files (the "Software"), to
4+
deal in the Software without restriction, including without limitation the
5+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6+
sell copies of the Software, and to permit persons to whom the Software is
7+
furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in
10+
all copies or substantial portions of the Software.
11+
12+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
18+
IN THE SOFTWARE.

0 commit comments

Comments
 (0)