dojo.rpc.JsonService = function(args){       if(args){ if(dojo.lang.isString(args)){     this.connect(args); }else{        if(args["smdUrl"]){ this.connect(args.smdUrl); } if(args["smdStr"]){ this.processSmd(dj_eval("("+args.smdStr+")")); } if(args["smdObj"]){ this.processSmd(args.smdObj); } if(args["serviceUrl"]){ this.serviceUrl = args.serviceUrl; } if(typeof args["strictArgChecks"] != "undefined"){ this.strictArgChecks = args.strictArgChecks; } } } 
dojo.rpc.JsonService=function(args){ if(args){ if(dojo.lang.isString(args)){ this.connect(args); }else{ if(args["smdUrl"]){ this.connect(args.smdUrl); 
dojo.rpc.JsonService = function(args){  // passing just the URL isn't terribly useful. It's expected that at  // various times folks will want to specify:  //  - just the serviceUrl (for use w/ remoteCall())  //  - the text of the SMD to evaluate  //  - a raw SMD object  //  - the SMD URL  if(args){    if(dojo.lang.isString(args)){      // we assume it's an SMD file to be processed, since this was the      // earlier function signature      // FIXME: also accept dojo.uri.Uri objects?      this.connect(args);    }else{      // otherwise we assume it's an arguments object with the following      // (optional) properties:      //  - serviceUrl      //  - strictArgChecks      //  - smdUrl      //  - smdStr      //  - smdObj      if(args["smdUrl"]){        this.connect(args.smdUrl);      }      if(args["smdStr"]){        this.processSmd(dj_eval("("+args.smdStr+")"));      }      if(args["smdObj"]){        this.processSmd(args.smdObj);      }      if(args["serviceUrl"]){        this.serviceUrl = args.serviceUrl;      }      if(typeof args["strictArgChecks"] != "undefined"){        this.strictArgChecks = args.strictArgChecks;      }    }  }}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js