control-freak-ide/server/nodejs/util/doh/doh.profile.js
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

27 lines
497 B
JavaScript

var testResourceRe = /^doh\/tests/,
list = {
"doh/doh.profile": 1,
"doh/package.json": 1,
"doh/tests": 1,
"doh/_parseURLargs": 1
},
copyOnly = function(mid){
return (mid in list);
};
var profile = {
resourceTags: {
test: function(filename, mid){
return testResourceRe.test(mid);
},
copyOnly: function(filename, mid){
return copyOnly(mid);
},
amd: function(filename, mid){
return !testResourceRe.test(mid) && !copyOnly(mid) && /\.js$/.test(filename);
}
}
};