Consistently 'use strict' for JS code
Change-Id: I6f6e06ad32ffa87242f5a0f41c176149b754e2ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169187 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
parent
5feafc1e20
commit
81ac964986
4 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
if (!('preRun' in Module)) Module['preRun'] = [];
|
||||
Module.preRun.push(function() {
|
||||
ENV.SAL_LOG = "+WARN"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
Module['arguments'] = [
|
||||
'--norestore',
|
||||
'--nologo',
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
Module.initUno = function() {
|
||||
if (Module.uno === undefined) {
|
||||
Module.uno = init_unoembind_uno(Module);
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
Module.addOnPostRun(function() {
|
||||
console.log('Running embindtest');
|
||||
Module.initUno();
|
||||
|
|
Loading…
Reference in a new issue