|
|
|
|
|
by Offler
4856 days ago
|
|
I just don't understand the issue people are having here. Nested callbacks are a design choice, if you do not want nested callbacks stop writing code with them in it. Here is a simple example in some Node.js code I've just written (I've never written any before this little project). https://github.com/Offler/node-bundler/blob/master/lib/bundl... As you can see you just need to write in an OO manner and use function.bind(this) and Bob's your uncle. Really don't get the difficulty. |
|