From: Michał Gołębiowski Date: Tue, 24 Mar 2015 10:54:36 +0000 (+0100) Subject: Build: Update native-promise-only X-Git-Tag: 3.0.0-alpha1+compat~97 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7b111310977a30d02a8260a7ed6c9c437bb1b0a5;p=jquery.git Build: Update native-promise-only This should fix Android 4.0 jQuery.when tests issues. (cherry-picked from 0065e1f3e3021fc2bcb32e915177498bca034b34) Closes gh-2159 --- diff --git a/external/npo/npo.js b/external/npo/npo.js index bd070846c..7c70ce8f5 100644 --- a/external/npo/npo.js +++ b/external/npo/npo.js @@ -1,5 +1,5 @@ /*! Native Promise Only - v0.7.6-a (c) Kyle Simpson + v0.7.7-a (c) Kyle Simpson MIT License: http://getify.mit-license.org */ -!function(t,n,e){n[t]=n[t]||e(),"undefined"!=typeof module&&module.exports?module.exports=n[t]:"function"==typeof define&&define.amd&&define(function(){return n[t]})}("Promise","undefined"!=typeof global?global:this,function(){"use strict";function t(t,n){l.add(t,n),h||(h=y(l.drain))}function n(t){var n,e=typeof t;return null==t||"object"!=e&&"function"!=e||(n=t.then),"function"==typeof n?n:!1}function e(){for(var t=0;t0&&t(e,a))}catch(s){i.call(u||new f(a),s)}}}function i(n){var o=this;o.triggered||(o.triggered=!0,o.def&&(o=o.def),o.msg=n,o.state=2,o.chain.length>0&&t(e,o))}function c(t,n,e,o){for(var r=0;r0&&t(e,a))}catch(s){i.call(u||new f(a),s)}}}function i(n){var o=this;o.triggered||(o.triggered=!0,o.def&&(o=o.def),o.msg=n,o.state=2,o.chain.length>0&&t(e,o))}function c(t,n,e,o){for(var r=0;r