From 89c569089995905b5cadc5abdcf6ed0d588ce4c3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 18 Aug 2013 03:29:39 -0400 Subject: [PATCH] Revert q.js change that broke Q.async(function() { var x = yield y }); --- resource/q.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/q.js b/resource/q.js index 4f73567266..9d2745b139 100644 --- a/resource/q.js +++ b/resource/q.js @@ -1280,7 +1280,7 @@ function async(makeGenerator) { } } var generator = makeGenerator.apply(this, arguments); - var callback = continuer.bind(continuer, "next"); + var callback = continuer.bind(continuer, "send"); var errback = continuer.bind(continuer, "throw"); return callback(); };