source: Dev/branches/rest-dojo-ui/client/util/doh/doh.profile.js @ 256

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: 534 bytes
Line 
1var testResourceRe = /^doh\/tests/,
2        list = {
3                "doh/doh.profile":1,
4                "doh/package.json":1,
5                "doh/tests":1,
6                "doh/_parseURLargs":1
7        },
8        copyOnly = function(mid){
9                return (mid in list);
10        };
11
12var profile = {
13        resourceTags:{
14                test: function(filename, mid){
15                        return testResourceRe.test(mid);
16                },
17
18                copyOnly: function(filename, mid){
19                        return copyOnly(mid);
20                },
21
22                amd: function(filename, mid){
23                        return !testResourceRe.test(mid) && !copyOnly(mid) && /\.js$/.test(filename);
24                }
25        },
26
27        trees:[
28                [".", ".", /(\/\.)|(~$)/]
29        ]
30};
Note: See TracBrowser for help on using the repository browser.