THRIFT-2964: nodejs file breakout
Client: NodeJS
Patch: Andrew de Andrade
Moves protocols and transports (among others) into seperate files.
diff --git a/lib/nodejs/test/client.js b/lib/nodejs/test/client.js
index 3b5f1cb..b8de7ce 100755
--- a/lib/nodejs/test/client.js
+++ b/lib/nodejs/test/client.js
@@ -58,7 +58,7 @@
protocol = thrift.TJSONProtocol;
} else if (program.protocol === "compact") {
protocol = thrift.TCompactProtocol;
-}
+}
var transport = thrift.TBufferedTransport;
if (program.transport === "framed") {
@@ -88,7 +88,7 @@
var testDriver = ThriftTestDriver;
if (program.promise) {
testDriver = ThriftTestDriverPromise;
-}
+}
testDriver(client, function (status) {
console.log(status);
connection.end();