rem: function(args){       if(args){  if(dojo.isString(args)){ var def = dojo.xhrGet({ url: args, handleAs: "json", sync: true });  def.addCallback(this, "processSmd"); def.addErrback(function() { 
add: def.addErrback(function() { 
context:         function(args){		//summary:		//Take a string as a url to retrieve an smd or an object that is an smd or partial smd to use		//as a definition for the service                //      - the text of the SMD to evaluate                //      - a raw SMD object                //      - the SMD URL                if(args){			//if the arg is a string, we assume it is a url to retrieve an smd definition from			if(dojo.isString(args)){				var def = dojo.xhrGet({					url: args,					handleAs: "json",					sync: true				});				def.addCallback(this, "processSmd");				def.addErrback(function() {					throw new Error("Unable to load SMD from " . args);									});			}else if(args["smdStr"]){				this.processSmd(dojo.eval("("+args.smdStr+")"));			}else{	                        // otherwise we assume it's an arguments object with the following				// (optional) properties:				//      - serviceUrl				//      - strictArgChecks				//      - smdStr				//      - smdObj				if(args["serviceUrl"]){					this.serviceUrl = args.serviceUrl;				}				if(args["timeout"]){					this.timeout = args.timeout;				}else{					this.timeout=3000;				}	                        if(typeof args["strictArgChecks"] != "undefined"){					this.strictArgChecks = args.strictArgChecks;				}				this.processSmd(args);			}		}	},
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/45753104cb1f07334ecc04a904db4f10f2335457/RpcService.js/buggy/rpc/RpcService.js