Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
runat-1128988: Use function*() ... for generators
Browse files Browse the repository at this point in the history
See joewalker#75

Signed-off-by: Joe Walker <[email protected]>
  • Loading branch information
joewalker committed Feb 13, 2015
1 parent e2a1c6a commit 0691a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gcli/commands/server/firefox.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function createCommonJsToJsTestFilter() {
'var TEST_URI = "data:text/html;charset=utf-8,<p id=\'gcli-input\'>gcli-' + name + '</p>";\n' +
'\n' +
'function test() {\n' +
' return Task.spawn(function() {\n' +
' return Task.spawn(*function() {\n' +
' let options = yield helpers.openTab(TEST_URI);\n' +
' yield helpers.openToolbar(options);\n' +
' options.requisition.system.addItems(mockCommands.items);\n' +
Expand Down

0 comments on commit 0691a90

Please sign in to comment.