You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
497 B
26 lines
497 B
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); |
|
} |
|
} |
|
};
|
|
|