Skip to content

Commit

Permalink
[build] Return checkVars warning for google closure-compile; Add GCC …
Browse files Browse the repository at this point in the history
…"native"(Graal compiled-to-native versions) platform
  • Loading branch information
konovalovsergey committed May 16, 2023
1 parent 315474b commit f33adf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions build/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ module.exports = function(grunt) {
const formatting = grunt.option('formatting') || '';

require('google-closure-compiler').grunt(grunt, {
platform: 'java',
platform: ['native', 'java'],
extraArguments: ['-Xms2048m']
});

Expand Down Expand Up @@ -219,7 +219,6 @@ module.exports = function(grunt) {
`--define=window.AscCommon.g_cBuildNumber='${buildNumber}'`,
`--define=window.AscCommon.g_cIsBeta='${beta}'`,
'--rewrite_polyfills=true',
'--jscomp_off=checkVars',
'--warning_level=QUIET',
'--language_out=ECMASCRIPT5',
'--compilation_level=' + level,
Expand Down
2 changes: 1 addition & 1 deletion cell/Local/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ var c_oAscError = Asc.c_oAscError;
this._onUpdateDocumentCanSave();

if (undefined !== window["AscDesktopEditor"]) {
window["AscDesktopEditor"]["onDocumentModifiedChanged"](AscCommon.History ? AscCommon.History.Have_Changes(undefined, true) : bValue);
window["AscDesktopEditor"]["onDocumentModifiedChanged"](AscCommon.History ? AscCommon.History.Have_Changes(undefined, true) : bIsModified);
}
}
};
Expand Down

0 comments on commit f33adf3

Please sign in to comment.