Subversion Repositories Applications.papyrus

Rev

Rev 1372 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1372 Rev 1422
Line 6... Line 6...
6
	modified BSD license. For more information on Dojo licensing, see:
6
	modified BSD license. For more information on Dojo licensing, see:
Line 7... Line 7...
7
 
7
 
8
		http://dojotoolkit.org/community/licensing.shtml
8
		http://dojotoolkit.org/community/licensing.shtml
Line -... Line 9...
-
 
9
*/
-
 
10
 
9
*/
11
 
10
 
12
 
11
dojo.provide("dojo.lang.func");
13
dojo.provide("dojo.lang.func");
-
 
14
dojo.require("dojo.lang.common");
-
 
15
dojo.lang.hitch = function (thisObject, method) {
-
 
16
	var args = [];
-
 
17
	for (var x = 2; x < arguments.length; x++) {
12
dojo.require("dojo.lang.common");
18
		args.push(arguments[x]);
13
dojo.lang.hitch = function (thisObject, method) {
19
	}
14
	var fcn = (dojo.lang.isString(method) ? thisObject[method] : method) || function () {
20
	var fcn = (dojo.lang.isString(method) ? thisObject[method] : method) || function () {
-
 
21
	};
-
 
22
	return function () {
-
 
23
		var ta = args.concat([]);
-
 
24
		for (var x = 0; x < arguments.length; x++) {
15
	};
25
			ta.push(arguments[x]);
16
	return function () {
26
		}
17
		return fcn.apply(thisObject, arguments);
27
		return fcn.apply(thisObject, ta);
18
	};
28
	};
19
};
29
};
20
dojo.lang.anonCtr = 0;
30
dojo.lang.anonCtr = 0;