File tree Expand file tree Collapse file tree 7 files changed +9
-118
lines changed
projects/angular-resize-event Expand file tree Collapse file tree 7 files changed +9
-118
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,13 @@ $ npm install angular-resize-event
2626
2727and then from your Angular ` AppModule ` :
2828
29- | :warning : WARNING |
30- | :---------------------------|
31- | Module name was changed in version 2.0.0 from ` AngularResizedEventModule ` to ` AngularResizeEventModule ` . |
32-
3329``` typescript
3430import { BrowserModule } from ' @angular/platform-browser' ;
3531import { NgModule } from ' @angular/core' ;
3632import { AppComponent } from ' ./app.component' ;
3733
3834// Import the library module
39- import { AngularResizeEventModule } from ' angular-resize-event' ;
35+ import { AngularResizedEventModule } from ' angular-resize-event' ;
4036
4137@NgModule ({
4238 declarations: [
@@ -45,8 +41,8 @@ import { AngularResizeEventModule } from 'angular-resize-event';
4541 imports: [
4642 BrowserModule ,
4743
48- // Specify AngularResizeEventModule library as an import
49- AngularResizeEventModule
44+ // Specify AngularResizedEventModule library as an import
45+ AngularResizedEventModule
5046 ],
5147 providers: [],
5248 bootstrap: [ AppComponent ]
Original file line number Diff line number Diff line change 44 "scripts" : {
55 "build" : " ng build --prod" ,
66 "test" : " ng test" ,
7- "lint" : " ng lint"
7+ "lint" : " ng lint" ,
8+ "postbuild" : " cp README.md dist/angular-resize-event/README.md"
89 },
910 "private" : true ,
1011 "dependencies" : {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import { BrowserModule } from '@angular/platform-browser' ;
22import { NgModule } from '@angular/core' ;
33
4- import { AngularResizeEventModule } from 'angular-resize-event' ;
4+ import { AngularResizedEventModule } from 'angular-resize-event' ;
55
66import { AppComponent } from './app.component' ;
77
@@ -11,7 +11,7 @@ import { AppComponent } from './app.component';
1111 ] ,
1212 imports : [
1313 BrowserModule ,
14- AngularResizeEventModule
14+ AngularResizedEventModule
1515 ] ,
1616 providers : [ ] ,
1717 bootstrap : [ AppComponent ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ import { ResizedDirective } from './resized.directive';
77 ] ,
88 exports : [ ResizedDirective ]
99} )
10- export class AngularResizeEventModule { }
10+ export class AngularResizedEventModule { }
Original file line number Diff line number Diff line change 44
55export * from './lib/resized-event' ;
66export * from './lib/resized.directive' ;
7- export * from './lib/angular-resize -event.module' ;
7+ export * from './lib/angular-resized -event.module' ;
You can’t perform that action at this time.
0 commit comments