From 70254fe6e0a07989d640967184a9858b3001c8dc Mon Sep 17 00:00:00 2001 From: yifang Date: Wed, 19 Jan 2022 20:26:45 +0800 Subject: [PATCH] imp. : rename js/css file from gd_ to gd-* --- article_maker.cc | 4 ++-- resources.qrc | 4 ++-- resources/{gd_builtin.js => gd-builtin.js} | 0 resources/{gd_custom.js => gd-custom.js} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename resources/{gd_builtin.js => gd-builtin.js} (100%) rename resources/{gd_custom.js => gd-custom.js} (100%) diff --git a/article_maker.cc b/article_maker.cc index b2eda915..84257130 100644 --- a/article_maker.cc +++ b/article_maker.cc @@ -59,7 +59,7 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word, result += ""; //custom javascript - result += ""; + result += ""; } // add qwebchannel @@ -144,7 +144,7 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word, "return tr_map[key] || '';" "}" ""; - result+= ""; + result+= ""; result += ""; return result; diff --git a/resources.qrc b/resources.qrc index 619863f2..d0818980 100644 --- a/resources.qrc +++ b/resources.qrc @@ -85,7 +85,7 @@ icons/folder.png icons/ontop.png resources/jquery-3.6.0.slim.min.js - resources/gd_custom.js - resources/gd_builtin.js + resources/gd-custom.js + resources/gd-builtin.js diff --git a/resources/gd_builtin.js b/resources/gd-builtin.js similarity index 100% rename from resources/gd_builtin.js rename to resources/gd-builtin.js diff --git a/resources/gd_custom.js b/resources/gd-custom.js similarity index 100% rename from resources/gd_custom.js rename to resources/gd-custom.js