summaryrefslogtreecommitdiff
path: root/lib/dijit/dijit.profile.js
diff options
context:
space:
mode:
authorAnders Kaseorg <[email protected]>2017-01-20 12:29:59 -0500
committerAnders Kaseorg <[email protected]>2017-01-21 13:22:14 -0500
commit6887a0f57307820b097b51aee952c555bcf69024 (patch)
treeff041c03ac0251468eb4308927052f8bd6071ca3 /lib/dijit/dijit.profile.js
parent9f539be3c2c93ce358b10ca396e922b3b99b56ea (diff)
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our tree icons inside them rather than replacing them. Signed-off-by: Anders Kaseorg <[email protected]>
Diffstat (limited to 'lib/dijit/dijit.profile.js')
-rw-r--r--lib/dijit/dijit.profile.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/dijit/dijit.profile.js b/lib/dijit/dijit.profile.js
index 5a75a6aca..bdebb299c 100644
--- a/lib/dijit/dijit.profile.js
+++ b/lib/dijit/dijit.profile.js
@@ -1,5 +1,6 @@
var profile = (function(){
var testResourceRe = /^dijit\/tests\//,
+ nodeModulesRe = /\/node_modules\//,
copyOnly = function(filename, mid){
var list = {
@@ -7,7 +8,10 @@ var profile = (function(){
"dijit/package.json":1,
"dijit/themes/claro/compile":1
};
- return (mid in list) || (/^dijit\/resources\//.test(mid) && !/\.css$/.test(filename)) || /(png|jpg|jpeg|gif|tiff)$/.test(filename);
+ return (mid in list) ||
+ (/^dijit\/resources\//.test(mid) && !/\.css$/.test(filename)) ||
+ /(png|jpg|jpeg|gif|tiff)$/.test(filename) ||
+ nodeModulesRe.test(mid);
};
return {
@@ -25,11 +29,10 @@ var profile = (function(){
},
miniExclude: function(filename, mid){
- return /^dijit\/bench\//.test(mid) || /^dijit\/themes\/themeTest/.test(mid);
+ return /^dijit\/bench\//.test(mid) ||
+ /^dijit\/themes\/themeTest/.test(mid) ||
+ nodeModulesRe.test(mid);
}
}
};
})();
-
-
-