mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:06:02 +00:00
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 <andersk@mit.edu>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user