File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
app/code/Magento/PageBuilder/view/adminhtml/web/ts/js Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
6
6
import _ from "underscore" ;
7
- import ConfigInterface , { Mode , ContentSnapshotInterface } from "./config.types" ;
7
+ import ConfigInterface , { ContentSnapshotInterface , Mode } from "./config.types" ;
8
8
import ContentTypeConfigInterface from "./content-type-config.types" ;
9
9
10
10
export default class Config {
@@ -50,7 +50,7 @@ export default class Config {
50
50
*/
51
51
public static getContentSnapshot ( ) : ContentSnapshotInterface
52
52
{
53
- return Config . contentSnapshot
53
+ return Config . contentSnapshot ;
54
54
}
55
55
56
56
/**
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ export type ContentSnapshot = true | false;
23
23
24
24
export interface ContentSnapshotInterface
25
25
{
26
- pageBuilderId : string ,
27
- contentSnapshotMode : ContentSnapshot ,
26
+ pageBuilderId : string ;
27
+ contentSnapshotMode : ContentSnapshot ;
28
28
}
29
29
30
30
export interface MenuSectionInterface {
Original file line number Diff line number Diff line change @@ -515,7 +515,9 @@ export default class Preview implements PreviewInterface {
515
515
} ,
516
516
) ;
517
517
}
518
- events . on ( `stage:${ Config . getContentSnapshot ( ) . pageBuilderId } :fullScreenModeChangeAfter` , this . toggleAccessibility . bind ( this ) ) ;
518
+ events . on ( `stage:${ Config . getContentSnapshot ( ) . pageBuilderId } :fullScreenModeChangeAfter` ,
519
+ this . toggleAccessibility . bind ( this )
520
+ ) ;
519
521
}
520
522
521
523
/**
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ export default class Panel {
54
54
this . element = element ;
55
55
}
56
56
57
-
58
57
/**
59
58
* Init listeners
60
59
*/
You can’t perform that action at this time.
0 commit comments