[IMP] account, web_editor, base: remove useless use strict
According to the ECMAScript 2023 Language Specification: > Module code is always strict mode code. Odoo Modules mimic this behavior and automatically add “use strict“ at the top of the file, so there's no need to do it yourself. This commit removes all the useless occurrences of use strict. closes odoo/odoo#132235 Related: odoo/enterprise#45908 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/** @odoo-module **/
|
||||
"use strict";
|
||||
|
||||
import { start, startServer } from "@mail/../tests/helpers/test_utils";
|
||||
import { patchWithCleanup } from "@web/../tests/helpers/utils";
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/** @odoo-module */
|
||||
"use strict";
|
||||
|
||||
import { registry } from "@web/core/registry";
|
||||
import { stepUtils } from "@web_tour/tour_service/tour_utils";
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/** @odoo-module */
|
||||
'use strict';
|
||||
|
||||
import { getAdjacentPreviousSiblings, isBlock, rgbToHex, commonParentGet } from '../editor/odoo-editor/src/utils/utils';
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/** @odoo-module **/
|
||||
'use strict';
|
||||
|
||||
import { renderToElement } from "@web/core/utils/render";
|
||||
import {descendants, preserveCursor} from "@web_editor/js/editor/odoo-editor/src/utils/utils";
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/** @odoo-module **/
|
||||
'use strict';
|
||||
|
||||
import './commands/deleteBackward.js';
|
||||
import './commands/deleteForward.js';
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/** @odoo-module **/
|
||||
|
||||
"use strict";
|
||||
|
||||
import { registry } from "@web/core/registry";
|
||||
import { stepUtils } from "@web_tour/tour_service/tour_utils";
|
||||
function checkLoginColumn(translation) {
|
||||
|
||||
Reference in New Issue
Block a user