Skip to content

Commit

Permalink
fix(demo): fix wired-elements version to 1.0.0 which comes with bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Nov 1, 2019
1 parent 7c474e4 commit c901154
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const options: LazyElementModuleOptions = {
elementConfigs: [
{
tag: 'wired-button',
url: 'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js',
url: 'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js',
loadingComponent: SpinnerComponent,
errorComponent: ErrorComponent,
preload: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const options: LazyElementModuleOptions = {
{
tag: 'wired-button',
url:
'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js',
'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js',
loadingComponent: SpinnerComponent,
errorComponent: ErrorComponent,
preload: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class DynamicComponent implements OnInit {
{
tag: 'wired-button',
url:
'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js',
'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js',
content: 'Decrement',
actionName: 'decrement'
},
Expand Down Expand Up @@ -95,7 +95,7 @@ export const CODE_EXAMPLE_2_HTML = `<ax-lazy-element *axLazyElementDynamic="'wir
export const CODE_EXAMPLE_2_MODULE = `// pre-configured LazyElementsModule
const options: LazyElementModuleOptions = {
elementConfigs: [
{ tag: 'wired-button', url: 'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js' }
{ tag: 'wired-button', url: 'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js' }
]
};
Expand Down Expand Up @@ -129,7 +129,7 @@ dynamicConfigs = [
},
{
tag: 'wired-button',
url: 'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js',
url: 'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js',
content: 'Decrement',
actionName: 'decrement'
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const options: LazyElementModuleOptions = {
{
tag: 'wired-button',
url:
'https://unpkg.com/wired-elements@latest/dist/wired-elements.bundled.js'
'https://unpkg.com/wired-elements@1.0.0/dist/wired-elements.bundled.js'
}
]
};
Expand Down

0 comments on commit c901154

Please sign in to comment.