Skip to content

Commit

Permalink
fix(demo): remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
CHEN Qing committed Apr 19, 2017
1 parent b15fe23 commit e05a2b0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion demo/demo.component.ts → demo/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { Component } from '@angular/core';
`],
})

export class DemoComponent {
export class AppComponent {

public lottieConfig: Object;
private anim: any;
Expand Down
8 changes: 4 additions & 4 deletions demo/demo.module.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { LottieAnimationViewModule } from '../src';
import { DemoComponent } from './demo.component';
import { AppComponent } from './app.component';

@NgModule({
declarations: [DemoComponent],
declarations: [AppComponent],
imports: [BrowserModule, LottieAnimationViewModule.forRoot()],
bootstrap: [DemoComponent]
bootstrap: [AppComponent]
})
export class DemoModule {}
export class DemoModule {}
2 changes: 1 addition & 1 deletion demo/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ if (ENV === 'production') {
enableProdMode();
}

platformBrowserDynamic().bootstrapModule(DemoModule);
platformBrowserDynamic().bootstrapModule(DemoModule);
Loading

0 comments on commit e05a2b0

Please sign in to comment.