ru.coon 2.7.55 → 2.7.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/index.js +2 -1
- package/package.json +1 -1
- package/src/uielement/component/settings/UiAceEditor.js +0 -3
- package/src/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# Version 2.7.56, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/165cf0808aa2ec1ca00fa516784da7c6beb5dbaa)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <span style='color:red'> AceEditor исправлена загрузка worker-javascript. Related to TR-63848.</span> ([6eb1f7], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6eb1f7335600e7bb7aff97a50add64367c0219e1))
|
|
4
|
+
|
|
5
|
+
* update: CHANGELOG.md ([833908], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/833908972ed4346eca83e590a05132acecfb9144))
|
|
6
|
+
|
|
1
7
|
# Version 2.7.55, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ffc9e1be5d88576d1e55c01cfd0af5f6dbbfb2aa)
|
|
2
8
|
* ## Fixes
|
|
3
9
|
* <span style='color:red'> У AceEditor в mode:javascript отключена загрузка web-worker в production режиме.</span> ([b2e0f4], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b2e0f4b4c427e79fd4826fdb6b95b775b6bdc6b3))
|
package/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {format as formatSQL} from 'sql-formatter';
|
|
|
12
12
|
import 'extjs_iconpack';
|
|
13
13
|
import 'ace-diff/dist/ace-diff.min.css';
|
|
14
14
|
import 'ace-builds/src-noconflict/worker-json';
|
|
15
|
-
import 'ace-builds/src-noconflict/worker-javascript';
|
|
15
|
+
import workerJavascriptUrl from 'ace-builds/src-noconflict/worker-javascript?url';
|
|
16
16
|
import 'ace-builds/src-noconflict/theme-xcode';
|
|
17
17
|
import 'ace-builds/src-noconflict/theme-iplastic';
|
|
18
18
|
import 'ace-builds/src-noconflict/ext-searchbox';
|
|
@@ -23,6 +23,7 @@ import 'ace-builds/src-noconflict/snippets/sql';
|
|
|
23
23
|
import 'ace-builds/src-noconflict/snippets/pgsql';
|
|
24
24
|
|
|
25
25
|
xAceEditor.config.set('basePath', '/node_modules/ace-builds/src-noconflict/');
|
|
26
|
+
xAceEditor.config.setModuleUrl('ace/mode/javascript_worker', workerJavascriptUrl);
|
|
26
27
|
|
|
27
28
|
Object.assign(window, {JSON5, ace: xAceEditor, Decimal});
|
|
28
29
|
|
package/package.json
CHANGED
|
@@ -239,9 +239,6 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
|
|
|
239
239
|
renderEditor: function() {
|
|
240
240
|
this.editor = Ext.xAceEditor.edit(this.getId());
|
|
241
241
|
this.editor.setTheme('ace/theme/xcode');
|
|
242
|
-
if (this.mode === 'javascript') {
|
|
243
|
-
this.editor.session.setOption('useWorker', !Ext.isProduction);
|
|
244
|
-
}
|
|
245
242
|
if (typeof this.mode === 'string') {
|
|
246
243
|
this.editor.session.setMode(`ace/mode/${this.mode}`);
|
|
247
244
|
} else {
|
package/src/version.js
CHANGED