ã¯ããã« jQuery.when()ã«æ±ºã¾ã£ãæ°ã®deferredã渡ãã®ã¯èª¿ã¹ããç°¡åã«åãã£ãã®ã§ãããä¸å®æ°ã®deferredã渡ãæ¹æ³ã調ã¹ãããæå¤ã¨æ¥æ¬èªã§ã¯è¦ã¤ãããªãã£ãããã¡ã¢ã ç°å¢ jQuery 1.10.2 æ¹æ³ 以ä¸ã«æ¹æ³ãè¼ã£ã¦ãã¾ãã javascript - Pass in an array of Deferreds to $.when() - Stack Overflow æ¸ãã¦ã¿ãã¨ä»¥ä¸ã®ãããªæãã $(document).on("ready", function(){ var funcA = function() { var dfd = $.Deferred(); setTimeout(function(){ console.log('a'); dfd.resolve(1,'a'); }, 1); return dfd.promise(); }; v
{{#tags}}- {{label}}
{{/tags}}