var blah = Some.Thing(data, function(a,b) { // code here });
Some.Thing = function(data, callback) {
if(...) {
var a = Other.Thing(data, function() {
// code here
callback();
return;
});
}
callback();
};
My question is, will the part that says //code here
fire only after everything else and their callbacks fire?
The //code here
part seems to fire, and there seems to be some timing issue.