dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
14 lines (13 loc) • 319 B
JavaScript
var profile = {
resourceTags:{
declarative: function(filename){
return /\.html?$/.test(filename); // tags any .html or .htm files as declarative
},
amd: function(filename){
return /\.js$/.test(filename);
},
copyOnly: function(filename, mid){
return mid == "globalizedApp/build.profile";
}
}
};