refactor(server) join

This commit is contained in:
coderaiser 2014-03-06 04:25:56 -05:00
parent dabd9f6814
commit 76d32ab80f

View file

@ -292,7 +292,9 @@
gzip.pipe(response);
};
if (isJoin) {
if (!isJoin)
Util.exec(callback);
else {
names = CloudFunc.getJoinArray(path);
n = names.length;
@ -314,10 +316,10 @@
funcs.push(minify.bind(null, name));
}
Util.asyncCall(funcs, readPipe);
}
} else
Util.exec(callback);
}
return isJoin;
}