Skip to content

Commit 2d5e6b5

Browse files
Github Pages Publish - demos changes cherry-pick (#28916)
1 parent abd6aee commit 2d5e6b5

File tree

512 files changed

+785
-768
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

512 files changed

+785
-768
lines changed

apps/demos/Demos/Accordion/Overview/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (!/localhost/.test(document.location.host)) {
1414

1515
let modulePrefix = '';
1616
// @ts-ignore
17-
if (window && window.config.packageConfigPaths) {
17+
if (window && window.config?.packageConfigPaths) {
1818
modulePrefix = '/app';
1919
}
2020

apps/demos/Demos/ActionSheet/Basics/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (!/localhost/.test(document.location.host)) {
1111

1212
let modulePrefix = '';
1313
// @ts-ignore
14-
if (window && window.config.packageConfigPaths) {
14+
if (window && window.config?.packageConfigPaths) {
1515
modulePrefix = '/app';
1616
}
1717

apps/demos/Demos/ActionSheet/PopoverMode/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (!/localhost/.test(document.location.host)) {
1212

1313
let modulePrefix = '';
1414
// @ts-ignore
15-
if (window && window.config.packageConfigPaths) {
15+
if (window && window.config?.packageConfigPaths) {
1616
modulePrefix = '/app';
1717
}
1818

apps/demos/Demos/Autocomplete/Overview/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function isNotEmpty(value: unknown): boolean {
1818

1919
let modulePrefix = '';
2020
// @ts-ignore
21-
if (window && window.config.packageConfigPaths) {
21+
if (window && window.config?.packageConfigPaths) {
2222
modulePrefix = '/app';
2323
}
2424

apps/demos/Demos/Box/Overview/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (!/localhost/.test(document.location.host)) {
1111

1212
let modulePrefix = '';
1313
// @ts-ignore
14-
if (window && window.config.packageConfigPaths) {
14+
if (window && window.config?.packageConfigPaths) {
1515
modulePrefix = '/app';
1616
}
1717

apps/demos/Demos/Button/Icons/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (!/localhost/.test(document.location.host)) {
1010

1111
let modulePrefix = '';
1212
// @ts-ignore
13-
if (window && window.config.packageConfigPaths) {
13+
if (window && window.config?.packageConfigPaths) {
1414
modulePrefix = '/app';
1515
}
1616

apps/demos/Demos/Button/PredefinedTypes/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (!/localhost/.test(document.location.host)) {
1010

1111
let modulePrefix = '';
1212
// @ts-ignore
13-
if (window && window.config.packageConfigPaths) {
13+
if (window && window.config?.packageConfigPaths) {
1414
modulePrefix = '/app';
1515
}
1616

apps/demos/Demos/ButtonGroup/Overview/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (!/localhost/.test(document.location.host)) {
1212

1313
let modulePrefix = '';
1414
// @ts-ignore
15-
if (window && window.config.packageConfigPaths) {
15+
if (window && window.config?.packageConfigPaths) {
1616
modulePrefix = '/app';
1717
}
1818

apps/demos/Demos/Calendar/MultipleSelection/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (!/localhost/.test(document.location.host)) {
1212

1313
let modulePrefix = '';
1414
// @ts-ignore
15-
if (window && window.config.packageConfigPaths) {
15+
if (window && window.config?.packageConfigPaths) {
1616
modulePrefix = '/app';
1717
}
1818

apps/demos/Demos/Calendar/Overview/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (!/localhost/.test(document.location.host)) {
1212

1313
let modulePrefix = '';
1414
// @ts-ignore
15-
if (window && window.config.packageConfigPaths) {
15+
if (window && window.config?.packageConfigPaths) {
1616
modulePrefix = '/app';
1717
}
1818

0 commit comments

Comments
 (0)