Last change
on this file since 532 was
483,
checked in by hendrikvanantwerpen, 11 years ago
|
Added Dojo 1.9.3 release.
|
File size:
497 bytes
|
Line | |
---|
1 | var 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 | |
---|
12 | var 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 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.