Skip to content

Commit d8a5dc4

Browse files
committed
Do not pick - trash commit
1 parent a3e0f25 commit d8a5dc4

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

addons/web_editor/static/src/js/editor/snippets.editor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ var SnippetEditor = Widget.extend({
776776
this._customize$Elements = this._customize$Elements
777777
.concat(parentEditor._customize$Elements);
778778
// TODO: @owl-options This was meant to have the same behavior
779-
// as the old editor, but as of now, options are just added
779+
// as the old editor, but as of now, options are just added
780780
// with a loop on "enabledEditorHierarchy", so this would lead
781781
// to duplicate option Components.
782782
// this.snippetOptions = [...this.snippetOptions,...parentEditor.snippetOptions];
@@ -5179,8 +5179,8 @@ class SnippetsMenu extends Component {
51795179
// Delay the mutex until all post drop actions are done. It cannot be
51805180
// awaited inside the mutex because callPostSnippetDrop locks the mutex
51815181
// and it needs to be awaited because callPostSnippetDrop also creates
5182-
// editors, but it does so outside the mutex. However, calling
5183-
// updateOptionsUI while editors are being created creates race
5182+
// editors, but it does so outside the mutex. However, calling
5183+
// updateOptionsUI while editors are being created creates race
51845184
// conditions
51855185
if (this.postSnippetDropPromise) {
51865186
await this.postSnippetDropPromise;

addons/web_editor/static/src/js/editor/snippets.options.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ export class UserValueComponent extends Component {
966966
}
967967
/**
968968
* Sets all props as data attributes to match with existing tours.
969-
* @TODO this should be removed or only shown when tours are actually
969+
* @TODO this should be removed or only shown when tours are actually
970970
* activated. However, some SCSS styles are using attributes to style some
971971
* buttons (e.g. BackgroundShape).
972972
*/
@@ -980,7 +980,7 @@ export class UserValueComponent extends Component {
980980
}
981981
/**
982982
* Prepare the values that will be passed as parameters to the state.
983-
*
983+
*
984984
* @private
985985
* @return {Objectl}
986986
*/
@@ -1919,7 +1919,7 @@ class WeMulti extends UserValueComponent {
19191919
registry.category("snippet_widgets").add("WeMulti", WeMulti);
19201920

19211921
export class ColorpickerUserValue extends SelectUserValue {
1922-
/**
1922+
/**
19231923
* The Color Combination value, which is a string ranging from 1 to 5
19241924
*
19251925
* @type {string}
@@ -2937,7 +2937,7 @@ class RangeUserValue extends UnitUserValue {
29372937
}
29382938
/**
29392939
* @private
2940-
* @param {string} inputValue
2940+
* @param {string} inputValue
29412941
*/
29422942
_computeDisplayValue(inputValue) {
29432943
if (this.toRatio) {
@@ -3707,7 +3707,7 @@ export class SnippetOptionComponent extends Component {
37073707
this.$overlay = this.props.snippetOption.instance.$overlay;
37083708
this.renderContext = useState(this.props.snippetOption.instance.renderContext);
37093709
// When a component is mounted or unmounted, the state of other
3710-
// components might be impacted. (i.e. dependencies behaving
3710+
// components might be impacted. (i.e. dependencies behaving
37113711
// differently when a component is in the DOM or when it isn't)
37123712
this.updateUI = false;
37133713

@@ -6297,7 +6297,7 @@ registry.category("snippet_widgets").add("Overlay", Overlay);
62976297
*/
62986298
export class SnippetMove extends ColumnLayoutMixin(SnippetOption) {
62996299
static displayOverlayOptions = true;
6300-
6300+
63016301
/**
63026302
* @override
63036303
*/
@@ -7498,7 +7498,7 @@ export class ImageTools extends ImageHandlerOption {
74987498
/**
74997499
* Replace animation durations in SVG and CSS with modified values.
75007500
*
7501-
* This function takes a ratio and an SVG string containing animations. It
7501+
* This function takes a ratio and an SVG string containing animations. It
75027502
* uses regular expressions to find and replace the duration values in both
75037503
* CSS animation rules and SVG duration attributes based on the provided
75047504
* ratio.
@@ -7507,7 +7507,7 @@ export class ImageTools extends ImageHandlerOption {
75077507
* durations. If speed is 0.0, the original
75087508
* durations are preserved.
75097509
* @param {string} svg The SVG string containing animations.
7510-
* @returns {string} The modified SVG string with updated animation
7510+
* @returns {string} The modified SVG string with updated animation
75117511
* durations.
75127512
*/
75137513
_replaceAnimationDuration(speed, svg) {
@@ -7534,7 +7534,7 @@ export class ImageTools extends ImageHandlerOption {
75347534
// Replace the CSS --animation_ratio variable for future purpose.
75357535
svg = svg.replace(CSS_ANIMATION_RATIO_REGEX, `--animation_ratio: ${ratio};`);
75367536
} else {
7537-
// Add the style tag with the root variable --animation ratio for
7537+
// Add the style tag with the root variable --animation ratio for
75387538
// future purpose.
75397539
const regex = /<svg .*>/m;
75407540
const subst = `$&\n\t<style>\n\t\t:root { \n\t\t\t--animation_ratio: ${ratio};\n\t\t}\n\t</style>`;

0 commit comments

Comments
 (0)