1 var profile = (function(){
2 var testResourceRe = /^dijit\/tests\//,
4 copyOnly = function(filename, mid){
6 "dijit/dijit.profile":1,
7 "dijit/package.json":1,
8 "dijit/themes/claro/compile":1
10 return (mid in list) || (/^dijit\/resources\//.test(mid) && !/\.css$/.test(filename)) || /(png|jpg|jpeg|gif|tiff)$/.test(filename);
15 test: function(filename, mid){
16 return testResourceRe.test(mid) || mid=="dijit/robot" || mid=="dijit/robotx";
19 copyOnly: function(filename, mid){
20 return copyOnly(filename, mid);
23 amd: function(filename, mid){
24 return !testResourceRe.test(mid) && !copyOnly(filename, mid) && /\.js$/.test(filename);
27 miniExclude: function(filename, mid){
28 return /^dijit\/bench\//.test(mid) || /^dijit\/themes\/themeTest/.test(mid);