Skip to content

Commit 4004a31

Browse files
committed
ACP2E-3865: Update copyrights for PB EE and fix static failures
1 parent 629f2dc commit 4004a31

File tree

4 files changed

+3617
-2059
lines changed

4 files changed

+3617
-2059
lines changed

app/code/Magento/PageBuilderAdminAnalytics/view/adminhtml/web/js/page-builder/event-builder.js

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,22 @@ define(['underscore'], function (_) {
2525
}
2626

2727
switch (name) {
28-
case 'contentType:duplicateAfter':
28+
case 'contentType:duplicateAfter':
2929
action = 'duplicate';
3030
break;
31-
32-
case 'contentType:removeAfter':
31+
case 'contentType:removeAfter':
3332
action = 'remove';
3433
break;
35-
36-
case 'contentType:createAfter':
34+
case 'contentType:createAfter':
3735
action = 'create';
3836
break;
39-
40-
case 'contentType:editBefore':
37+
case 'contentType:editBefore':
4138
action = 'edit';
4239
break;
43-
44-
case 'contentType:visibilityAfter':
40+
case 'contentType:visibilityAfter':
4541
action = args.visibility ? 'show' : 'hide';
4642
break;
47-
48-
default:
43+
default:
4944
break;
5045
}
5146

dev/dts-generator.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ require('dts-generator').default({
3939
path.resolve(
4040
path.dirname(params.currentModuleId),
4141
params.importedModuleId,
42-
).replace(
43-
process.cwd() + '/',
44-
''
45-
)
42+
).replace(process.cwd() + '/', '')
4643
);
4744
}
4845

@@ -68,4 +65,4 @@ require('dts-generator').default({
6865
});
6966
});
7067
});
71-
});
68+
});

dev/tests/js/jasmine/tests/app/code/Magento/PageBuilder/adminhtml/web/js/form/element/wysiwyg.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ define([
7575
try {
7676
injector.clean();
7777
injector.remove();
78-
} catch {}
78+
} catch (e) { console.log(e); }
7979
});
8080

8181
describe('Magento_PageBuilder/js/form/element/wysiwyg', function () {

0 commit comments

Comments
 (0)