e44a7e37b6
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
15 lines
411 B
JavaScript
15 lines
411 B
JavaScript
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"]
|
|
});
|
|
|
|
}
|