static/emscripten/environment.js | 2 -- static/emscripten/uno.js | 2 -- unotest/source/embindtest/embindtest.js | 2 -- 3 files changed, 6 deletions(-)
New commits: commit a3a71ed916994df700f42b58b6400dafed3db8e4 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Mon Aug 26 09:24:34 2024 +0200 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Mon Aug 26 16:29:28 2024 +0200 'use strict' is of no use here... ...in snippets that are included with --pre-js/--post-js Change-Id: I928aa16b78284314796a0645479dce0dfc7b42cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172383 Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> Tested-by: Jenkins diff --git a/static/emscripten/environment.js b/static/emscripten/environment.js index 74536a665ccc..29f2dfaa0bc8 100644 --- a/static/emscripten/environment.js +++ b/static/emscripten/environment.js @@ -1,5 +1,3 @@ -'use strict'; - if (!('preRun' in Module)) Module['preRun'] = []; Module.preRun.push(function() { ENV.MAX_CONCURRENCY = '4'; diff --git a/static/emscripten/uno.js b/static/emscripten/uno.js index 84b301f3e3b3..af1f20dd5cdb 100644 --- a/static/emscripten/uno.js +++ b/static/emscripten/uno.js @@ -7,8 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -'use strict'; - Module.unoTagSymbol = Symbol('unoTag'); Module.uno_init = new Promise(function (resolve, reject) { diff --git a/unotest/source/embindtest/embindtest.js b/unotest/source/embindtest/embindtest.js index f75653a897cf..9551a9a56bca 100644 --- a/unotest/source/embindtest/embindtest.js +++ b/unotest/source/embindtest/embindtest.js @@ -7,8 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -'use strict'; - Module.uno_init.then(function() { console.log('Running embindtest'); let css = Module.uno.com.sun.star;