Skip to content

Commit c901154

Browse files
committed
fix(demo): fix wired-elements version to 1.0.0 which comes with bundle
1 parent 7c474e4 commit c901154

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

projects/elements-demo/src/app/features/examples/advanced/advanced.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const options: LazyElementModuleOptions = {
5050
elementConfigs: [
5151
{
5252
tag: 'wired-button',
53-
url: 'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js',
53+
url: 'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js',
5454
loadingComponent: SpinnerComponent,
5555
errorComponent: ErrorComponent,
5656
preload: true

projects/elements-demo/src/app/features/examples/advanced/advanced.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const options: LazyElementModuleOptions = {
1818
{
1919
tag: 'wired-button',
2020
url:
21-
'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js',
21+
'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js',
2222
loadingComponent: SpinnerComponent,
2323
errorComponent: ErrorComponent,
2424
preload: true

projects/elements-demo/src/app/features/examples/dynamic/dynamic.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class DynamicComponent implements OnInit {
3434
{
3535
tag: 'wired-button',
3636
url:
37-
'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js',
37+
'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js',
3838
content: 'Decrement',
3939
actionName: 'decrement'
4040
},
@@ -95,7 +95,7 @@ export const CODE_EXAMPLE_2_HTML = `<ax-lazy-element *axLazyElementDynamic="'wir
9595
export const CODE_EXAMPLE_2_MODULE = `// pre-configured LazyElementsModule
9696
const options: LazyElementModuleOptions = {
9797
elementConfigs: [
98-
{ tag: 'wired-button', url: 'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js' }
98+
{ tag: 'wired-button', url: 'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js' }
9999
]
100100
};
101101
@@ -129,7 +129,7 @@ dynamicConfigs = [
129129
},
130130
{
131131
tag: 'wired-button',
132-
url: 'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js',
132+
url: 'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js',
133133
content: 'Decrement',
134134
actionName: 'decrement'
135135
},

projects/elements-demo/src/app/features/examples/dynamic/dynamic.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const options: LazyElementModuleOptions = {
1717
{
1818
tag: 'wired-button',
1919
url:
20-
'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js'
20+
'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js'
2121
}
2222
]
2323
};

0 commit comments

Comments
 (0)