Last change
on this file since 256 was
256,
checked in by hendrikvanantwerpen, 13 years ago
|
Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).
|
File size:
356 bytes
|
Line | |
---|
1 | define([ |
---|
2 | "dojo/_base/lang", |
---|
3 | "../_base" |
---|
4 | ], function(lang,dd){ |
---|
5 | /*===== |
---|
6 | dd = dojox.dtl; |
---|
7 | =====*/ |
---|
8 | lang.getObject("dojox.dtl.contrib.objects", true); |
---|
9 | |
---|
10 | lang.mixin(dd.contrib.objects, { |
---|
11 | key: function(value, arg){ |
---|
12 | return value[arg]; |
---|
13 | } |
---|
14 | }); |
---|
15 | |
---|
16 | dd.register.filters("dojox.dtl.contrib", { |
---|
17 | "objects": ["key"] |
---|
18 | }); |
---|
19 | return dojox.dtl.contrib.objects; |
---|
20 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.