Skip to content

Commit 247bf3f

Browse files
typo fix, description fix, redundant build logs remove
1 parent f83898f commit 247bf3f

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Contributing
1414
1. Run `gulp` command to build the project;
1515
3. Find `build/CacheWebTerminal-v*.xml` file and import it to the studio.
1616
2. By making changes in studio files (*.cls) just export the code into `export` repository directory.
17-
1. NOTE: Some files as `WebTerminal/StaticContent.xml` contain special tags like `{{replace:*}}`, so that files cannot be directly imported from studio without modifying. Please, check file differences to ensure that you haven't rewritten any of those;
17+
1. NOTE: Some files as, for example, `WebTerminal/StaticContent.xml` contain special tags like `{{replace:*}}`, so that files cannot be directly imported from studio without modifying. Please, check file differences to ensure that you haven't rewritten any of those;
1818
2. NOTE: When creating or changing classes, put their XML files into `export/WebTerminal` directory or any sub-directory which will be built as sub-packages.
1919

2020
## Applications Integration

gulpfile.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,13 @@ function themesReady () { // triggered when build is done
2323
extra.themes = themes.map(function (n) {
2424
return ', "' + n.replace(/\..*$/, "") + '": "css/terminal-theme/' + n + '"';
2525
}).join("");
26-
console.log("READY");
2726
}
2827

2928
var specialReplace = function () {
3029
return replace(/[^\s]*\/\*build\.replace:(.*)\*\//g, function (part, match) {
3130
var s = match.toString();
32-
var b = s.replace(/pkg\.([a-zA-Z]+)/g, function (p,a) { return pkg[a]; })
33-
.replace(/extra\.([a-zA-Z]+)/g, function (p,a) {
34-
console.log(extra);
35-
return extra[a]; });
36-
console.log(b, "---", s, part, match);
37-
return b;
31+
return s.replace(/pkg\.([a-zA-Z]+)/g, function (p,a) { return pkg[a]; })
32+
.replace(/extra\.([a-zA-Z]+)/g, function (p,a) { return extra[a]; });
3833
});
3934
};
4035

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"title": "Cache WEB Terminal",
44
"description": "Web-based terminal emulator for Caché administering.",
55
"author": "ZitRo",
6-
"version": "3.1.6",
7-
"releaseNumber": 17,
6+
"version": "3.1.7",
7+
"releaseNumber": 18,
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/intersystems-ru/webterminal.git"

webSource/js/TerminalLocalization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var TerminalLocalization = function (TERMINAL) {
7979
"\x1B[33m/echo\x1B[0m [параметр1] [второй] ...\x1B[32GОтображает каждый аргумент команды." +
8080
"\r\n\x1B[33m/trace\x1B[0m [глобал/путь]\x1B[32GНаблюдать за изменениями в файле или глобале. Чтобы " +
8181
"перестать наблюдать за изменениями, введите команду ещё раз. Команда без аргументов" +
82-
"остановит наблюдение за всеми файлами и глобалами.\r\n" +
82+
" остановит наблюдение за всеми файлами и глобалами.\r\n" +
8383
"\x1B[33m/sql\x1B[0m\x1B[32GПереключиться или выйти из SQL-режима.\r\n" +
8484
"\x1B[33m/reset\x1B[0m\x1B[32GВернуть терминал в первоначальное состояние.\r\n" +
8585
"{команда} \x1B[33m/favorite\x1B[0m {фраза}\x1B[32GСохранить команду для дальнейшего использования.\r\n" +

0 commit comments

Comments
 (0)