summaryrefslogtreecommitdiff
path: root/includes/js/dojox/dtl/contrib/objects.js
blob: d29c0dfb88e2320930d3d0cee7eca4201401a6fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if(!dojo._hasResource["dojox.dtl.contrib.objects"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.dtl.contrib.objects"] = true;
dojo.provide("dojox.dtl.contrib.objects");

dojo.mixin(dojox.dtl.contrib.objects, {
	key: function(value, arg){
		return value[arg];
	}
});

dojox.dtl.register.filters("dojox.dtl.contrib", {
	"objects": ["key"]
});

}