lix-website/themes/lix/assets/bootstrap/node_modules/jsonpack/package.js

25 lines
569 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
/*
Copyright (c) 2013, Rodrigo González, Sapienlab All Rights Reserved.
Available via MIT LICENSE, see https://github.com/roro89/jsonpack/blob/master/LICENSE.md for details.
*/
var miniExcludes = {
"jsonpack/README.md": 1,
"jsonpack/package": 1
},
isTestRe = /\/test\//;
var profile = {
resourceTags: {
test: function(filename, mid) {
return isTestRe.test(filename);
},
miniExclude: function(filename, mid){
return isTestRe.test(filename) || mid in miniExcludes;
},
amd: function(filename, mid){
return /\.js$/.test(filename);
}
}
};