Comment

Comment by fixjs

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 having different private scopes when defining a new module.

parent fixjs 12 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton