JeffreyZhao / wind

Asynchronous flow control in JavaScript, with JavaScript.
http://windjs.org/
1.54k stars 238 forks source link

Wind.compileBlock method for compile a whole code block #45

Open JeffreyZhao opened 12 years ago

JeffreyZhao commented 12 years ago

Usage:

Jscex.compileBlock(options /* or name */, function () {
    /* code block */
});

The name would be used in "//@ sourceURL".

Assign a better name for generated function: