зеркало из https://github.com/mozilla/brackets.git
package.json name can't take special chars
This commit is contained in:
Родитель
c2ed50952a
Коммит
01d599d6c0
|
@ -270,7 +270,7 @@ define(function (require, exports, module) {
|
|||
// Localize MainViewHTML and inject into <BODY> tag
|
||||
var templateVars = $.extend({
|
||||
ABOUT_ICON : brackets.config.about_icon,
|
||||
APP_NAME_ABOUT_BOX : brackets.metadata.name,
|
||||
APP_NAME_ABOUT_BOX : brackets.config.app_name_about,
|
||||
VERSION : brackets.metadata.version
|
||||
}, Strings);
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"config" :
|
||||
{
|
||||
"app_title" : "Brackets",
|
||||
"app_name" : "Brackets",
|
||||
"app_name_about" : "Brackets",
|
||||
"about_icon" : "styles/images/brackets_icon.svg",
|
||||
"show_debug_menu" : true,
|
||||
"enable_jslint" : true,
|
||||
|
|
|
@ -37,7 +37,7 @@ define(function (require, exports, module) {
|
|||
Global = require("utils/Global"),
|
||||
StringUtils = require("utils/StringUtils");
|
||||
|
||||
strings.APP_NAME = brackets.config.app_name || strings.APP_NAME;
|
||||
strings.APP_NAME = brackets.metadata.name || strings.APP_NAME;
|
||||
|
||||
// Convert {APP_NAME}
|
||||
Object.keys(strings).forEach(function (key) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче