A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/fixjs/define.js/issues/9 below:

ES6 generators syntax · Issue #9 · fixjs/define.js · GitHub

The new feature allows to use ES6 generators syntax when defining modules and requiring them:

define(function* () {
  var _ = yield require('../vendor/lodash');
  return {
    //...
  };
});

But it still needs more discussion and real world feedbacks. I opened this issue to discuss all the possible feedbacks around it. Feel free to bring up your views regarding the way ES6 generators are being used in the code block above.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4