imp. : rename js/css file from gd_ to gd-*

This commit is contained in:
yifang 2022-01-19 20:26:45 +08:00
parent 5c76bc746c
commit 70254fe6e0
4 changed files with 4 additions and 4 deletions

View file

@ -59,7 +59,7 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word,
result += "<script> var $_$=$.noConflict(true); </script>"; result += "<script> var $_$=$.noConflict(true); </script>";
//custom javascript //custom javascript
result += "<script type=\"text/javascript\" src=\"qrc:///resources/gd_custom.js\"></script>"; result += "<script type=\"text/javascript\" src=\"qrc:///resources/gd-custom.js\"></script>";
} }
// add qwebchannel // add qwebchannel
@ -144,7 +144,7 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word,
"return tr_map[key] || '';" "return tr_map[key] || '';"
"}" "}"
"</script>"; "</script>";
result+= "<script type=\"text/javascript\" src=\"qrc:///resources/gd_builtin.js\"></script>"; result+= "<script type=\"text/javascript\" src=\"qrc:///resources/gd-builtin.js\"></script>";
result += "</head><body>"; result += "</head><body>";
return result; return result;

View file

@ -85,7 +85,7 @@
<file>icons/folder.png</file> <file>icons/folder.png</file>
<file>icons/ontop.png</file> <file>icons/ontop.png</file>
<file>resources/jquery-3.6.0.slim.min.js</file> <file>resources/jquery-3.6.0.slim.min.js</file>
<file>resources/gd_custom.js</file> <file>resources/gd-custom.js</file>
<file>resources/gd_builtin.js</file> <file>resources/gd-builtin.js</file>
</qresource> </qresource>
</RCC> </RCC>