root / trunk / web / dojo / dojox / dtl / contrib / objects.js @ 12
History | View | Annotate | Download (496 Bytes)
1 | 9 | andrej.cim | /*
|
---|---|---|---|
2 | Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
|
||
3 | Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||
4 | see: http://dojotoolkit.org/license for details
|
||
5 | */
|
||
6 | |||
7 | |||
8 | if(!dojo._hasResource["dojox.dtl.contrib.objects"]){ |
||
9 | dojo._hasResource["dojox.dtl.contrib.objects"]=true; |
||
10 | dojo.provide("dojox.dtl.contrib.objects");
|
||
11 | dojo.mixin(dojox.dtl.contrib.objects,{key:function(_1,_2){ |
||
12 | return _1[_2];
|
||
13 | }}); |
||
14 | dojox.dtl.register.filters("dojox.dtl.contrib",{"objects":["key"]}); |
||
15 | } |