public/javascripts/inputex/js/rpc/inputex-rpc.js
function(callback) {
      
      var serviceDefs = this._smd.services;
      
      // Generate the methods to this object
		for(var serviceName in serviceDefs){
		   if( serviceDefs.hasOwnProperty(serviceName) ) {
		      
		      // Get the object that will contain the method.
		      // handles "namespaced" services by breaking apart by '.'
			   var current = this;
			   var pieces = serviceName.split("."); 
			   for(var i=0; i< pieces.length-1; i++){
				   current = current[pieces[i]] || (current[pieces[i]] = {});
			   }
			   
			   current[pieces[pieces.length-1]] =	this._generateService(serviceName, serviceDefs[serviceName]);
		   }
		}
		
		// call the success handler
		if(lang.isObject(callback) && lang.isFunction(callback.success)) {
		   callback.success.call(callback.scope || this);
		}
		
   }
function(callback) {
      
      var serviceDefs = this._smd.services;
      
      // Generate the methods to this object
		for(var serviceName in serviceDefs){
		   if( serviceDefs.hasOwnProperty(serviceName) ) {
		      
		      // Get the object that will contain the method.
		      // handles "namespaced" services by breaking apart by '.'
			   var current = this;
			   var pieces = serviceName.split("."); 
			   for(var i=0; i< pieces.length-1; i++){
				   current = current[pieces[i]] || (current[pieces[i]] = {});
			   }
			   
			   current[pieces[pieces.length-1]] =	this._generateService(serviceName, serviceDefs[serviceName]);
		   }
		}
		
		// call the success handler
		if(lang.isObject(callback) && lang.isFunction(callback.success)) {
		   callback.success.call(callback.scope || this);
		}
		
   }
function ( callback ) { var serviceDefs = this . _smd . services ; // Generate the methods to this object for ( var serviceName in serviceDefs ) { if ( serviceDefs . hasOwnProperty ( serviceName ) ) { // Get the object that will contain the method. // handles "namespaced" services by breaking apart by '.' var current = this ; var pieces = serviceName . split ( "." ) ; for ( var i = 0 ; i < pieces . length - 1 ; i ++ ) { current = current [ pieces [ i ] ] || ( current [ pieces [ i ] ] = { } ) ; } current [ pieces [ pieces . length - 1 ] ] = this . _generateService ( serviceName , serviceDefs [ serviceName ] ) ; } } // call the success handler if ( lang . isObject ( callback ) && lang . isFunction ( callback . success ) ) { callback . success . call ( callback . scope || this ) ; } }
Process the SMD definition
@method process
Process the SMD definition