function resolveClient(resolver, name, refObj, wire) {
			var config, client;

			config = parseConfig(name, refObj);
			client = buildClient(refObj.client, config);

			when(client, resolver.resolve, resolver.reject);
		}
/**
		 * Resolves a 'rest' client for the specified path and scopes, e.g. client!url/to/resource
		 *
		 * @param resolver
		 * @param name
		 * @param refObj
		 * @param wire
		 */
Resolves a 'rest' client for the specified path and scopes, e.g.
Resolves a ' rest ' client for the specified path and scopes e . g .
function resolveClient(resolver, name, refObj, wire) {
			var config, client;
			config = parseConfig(name, refObj);
			client = buildClient(refObj.client, config);
			when(client, resolver.resolve, resolver.reject);
		}
function resolveClient ( resolver , name , refObj , wire ) { var config , client ; config = parseConfig ( name , refObj ) ; client = buildClient ( refObj . client , config ) ; when ( client , resolver . resolve , resolver . reject ) ; }
Resolves a 'rest' client for the specified path and scopes, e.g.
Resolves a ' rest ' client for the specified path and scopes e . g .