diff options
| author | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
|---|---|---|
| committer | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
| commit | b62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch) | |
| tree | 86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /js/dojo-1.7.2/dojox/dtl/contrib/objects.js | |
Diffstat (limited to 'js/dojo-1.7.2/dojox/dtl/contrib/objects.js')
| -rw-r--r-- | js/dojo-1.7.2/dojox/dtl/contrib/objects.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/js/dojo-1.7.2/dojox/dtl/contrib/objects.js b/js/dojo-1.7.2/dojox/dtl/contrib/objects.js new file mode 100644 index 0000000..ea1d07b --- /dev/null +++ b/js/dojo-1.7.2/dojox/dtl/contrib/objects.js @@ -0,0 +1,21 @@ +//>>built +define("dojox/dtl/contrib/objects", [ + "dojo/_base/lang", + "../_base" +], function(lang,dd){ + /*===== + dd = dojox.dtl; + =====*/ + lang.getObject("dojox.dtl.contrib.objects", true); + + lang.mixin(dd.contrib.objects, { + key: function(value, arg){ + return value[arg]; + } + }); + + dd.register.filters("dojox.dtl.contrib", { + "objects": ["key"] + }); + return dojox.dtl.contrib.objects; +});
\ No newline at end of file |
