/** ip 셋팅 id 셋팅 */ //var jsdom = require("jsdom"); $ = require("jquery"); console.log("Hello world!"); JsTr = function(JsTr,$,undefined){ JsTr.cmd = ""; JsTr.getIpWrap = function(json,callback){ console.log("[JsTr.getIpWrap][assign][start]"); return (function(){ console.log("[JsTr.getIpWrap][run][start]"); getIp(json,callback); console.log("[JsTr.getIpWrap][run][end]"); }); }; JsTr.getIdWrap = function(json,callback){ console.log("[JsTr.getIdWrap][assign][start]"); return (function(){ console.log("[JsTr.getIdWrap][run][start]"); getId(json,callback); console.log("[JsTr.getIdWrap][run][end]"); }); }; var ip = ""; var id = ""; JsTr.send = function(serviceId,jsonParam,scb,fcb){ console.log("[JsTr.send][assign][start]"); // 콜백은 역순으로 만들면 된다. var fRef_getIdWrap = JsTr.getIdWrap(jsonP...