Skip to content

Commit bea7379

Browse files
committed
demo test for #37
1 parent df745b3 commit bea7379

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

demo/app/main-view-model.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ const ANDROID_WAVE_KEYPATHS = [
1111
export class DemoViewModel extends Observable {
1212
public animationIndex: number = 0;
1313
public animations: string[] = [
14-
'Mobilo/B.json',
14+
'Mobilo/B',
1515
'Mobilo/A.json',
1616
'Mobilo/D.json',
17-
'Mobilo/N.json',
18-
'Mobilo/R.json',
17+
'Mobilo/N',
18+
'Mobilo/R',
1919
'Mobilo/S.json'
2020
];
2121
public thirdLottieProgressTo: string = 'Try it!';
@@ -61,13 +61,13 @@ export class DemoViewModel extends Observable {
6161
this._lottieViewThree = event.object as LottieView;
6262
this._lottieViewThree.autoPlay = false;
6363
this._lottieViewThree.loop = false;
64-
this._lottieViewThree.src = 'Mobilo/N.json';
64+
this._lottieViewThree.src = 'Mobilo/N';
6565
}
6666

6767
public fourthLottieLoaded(event) {
6868
this._lottieViewFour = event.object as LottieView;
6969
this._lottieViewFour.autoPlay = false;
70-
this._lottieViewFour.src = 'doughnut.json';
70+
this._lottieViewFour.src = 'doughnut';
7171

7272
this.setFourthLottieToLoadingState();
7373
}

0 commit comments

Comments
 (0)