dojo.lang.hitch = function(/*Object*/thisObject, /*Function|String*/method /*, ...*/){  // summary:  //    Returns a function that will only ever execute in the a given scope  //    (thisObject). This allows for easy use of object member functions  //    in callbacks and other places in which the "this" keyword may  //    otherwise not reference the expected scope. Any number of default  //    positional arguments may be passed as parameters beyond "method".  //    Each of these values will be used to "placehold" (similar to curry)  //    for the hitched function. Note that the order of arguments may be  //    reversed in a future version.  // thisObject: the scope to run the method in  // method:  //    a function to be "bound" to thisObject or the name of the method in  //    thisObject to be used as the basis for the binding  // usage:  //    dojo.lang.hitch(foo, "bar")(); // runs foo.bar() in the scope of foo  //    dojo.lang.hitch(foo, myFunction); // returns a function that runs myFunction in the scope of foo  var args = [];  for(var x=2; x<arguments.length; x++){    args.push(arguments[x]);  }  var fcn = (dojo.lang.isString(method) ? thisObject[method] : method) || function(){};  return function(){    var ta = args.concat([]); // make a copy    for(var x=0; x<arguments.length; x++){      ta.push(arguments[x]);    }    return fcn.apply(thisObject, ta); // Function    // return fcn.apply(thisObject, arguments); // Function  };}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js