åããamachangããèªãã¨ãããã£ã¦è¨ã£ã¦ããJSDeferredã®ã³ã¼ããèªããdefferedãããªãã¦deferredãªã®ã§æ³¨æã Deferred.define = function (obj, list) { if (!list) list = ["parallel", "wait", "next", "call", "loop"]; if (!obj) obj = (function () { return this })(); for (var i = 0; i < list.length; i++) { var n = list[i]; obj[n] = Deferred[n]; } return Deferred; }; ããã¯ã°ãã¼ãã«ã¹ã³ã¼ãã«æ¸ãåºãã³ã¼ãã(function () { return this })()ã§windowãªãã¸ã§ã¯ããã¨ãã¦ããã¿ã
{{#tags}}- {{label}}
{{/tags}}