Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fixjs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
fixjs
10y ago
awaitify has a small set of functionality, but it could be really useful, if you want to write clean and readable async code without using any transpilers. Using Awaitify, Function Generators along with `yield` keyword works exactly like as
2.
▲
Asynchronous JavaScript using awaitify
(github.com)
3 points
by
fixjs
10y ago
|
1 comments
3.
▲
DefineJS v0.2.4 now offers a new CommonJS/AMD hybrid format
(fixjs.github.io)
4 points
by
fixjs
12y ago
|
0 comments
4.
▲
DefineJS: define(function*(){..}); yield require('utils');
(github.com)
2 points
by
fixjs
12y ago
|
0 comments
5.
▲
hAzzleJS: fast, faster, fastest, hAzzleJS is here NOW
(github.com)
3 points
by
fixjs
12y ago
|
1 comments
6.
▲
DefineJS v0.2.2 Released – Promised Modules and Detailed Examples
(fixjs.github.io)
2 points
by
fixjs
12y ago
|
0 comments
7.
▲
by
fixjs
12y ago
Check out the DefineJS-v0.2.2 with a bunch of examples and Promised Modules.
8.
▲
by
fixjs
12y ago
A new working example which shows how to use one of the nonstandard syntaxes in DefineJS, something like: use(['dependency']) .then(function(dependency){ }) .then() .cache(); Imagine a control flow in the module definition, or hav
9.
▲
by
fixjs
12y ago
I just added a working example of DefineJS which shows the way that the regular AMD format gets implemented.
10.
▲
by
fixjs
12y ago
One of the main goals here is to provide developers the ability of exposing it to different globals with different behaviors and configuration, which is not possible yet in this version, but it will be there in the next couple of hours.
11.
▲
by
fixjs
12y ago
Actually in the current version to expose them to the global scope, you should add the global attribute to your script tag and pass the window as it's value, like global="window".
12.
▲
by
fixjs
12y ago
Thanks for your feedbacks. The next release will be available in the next couple of hours, with a bunch of examples and a more technical RRADME.
13.
▲
by
fixjs
12y ago
@prayerslayer: nothing wrong with require.js, the main goal is to create a more portable alternative and more importantly to add couple of new and nonstandard ways of modular coding as a proposal for the JavaScript community.
14.
▲
DefineJS – A lightweight implementation of AMD module format
(fixjs.github.io)
36 points
by
fixjs
12y ago
|
26 comments