-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Angular RC5 is now required The Resizable and ResizeHandle directives are now no longer exported. Instead you must use the ResizableModule. See the readme or the demo app for an example of how to do this.
- Loading branch information
Matt Lewis
committed
Aug 12, 2016
1 parent
9c76aac
commit 9557c0a
Showing
10 changed files
with
537 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
import {Resizable} from './src/resizable.directive'; | ||
|
||
export * from './src/resizable.directive'; | ||
|
||
// for angular-cli | ||
export default { | ||
directives: [Resizable] | ||
}; | ||
export * from './src/resizable.module'; | ||
export {ResizeEvent} from './src/resizable.directive'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {NgModule} from '@angular/core'; | ||
import {BrowserModule} from '@angular/platform-browser'; | ||
import {ResizableModule} from './../angular2-resizable'; | ||
import {Demo} from './demo.component'; | ||
|
||
@NgModule({ | ||
declarations: [Demo], | ||
imports: [BrowserModule, ResizableModule], | ||
bootstrap: [Demo] | ||
}) | ||
export class DemoModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import 'reflect-metadata'; | ||
import 'zone.js/dist/zone'; | ||
import {enableProdMode} from '@angular/core'; | ||
import {bootstrap} from '@angular/platform-browser-dynamic'; | ||
import {DemoApp} from './demo'; | ||
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; | ||
import {DemoModule} from './demo.module'; | ||
|
||
declare var ENV: string; | ||
if (ENV === 'production') { | ||
enableProdMode(); | ||
} | ||
|
||
bootstrap(DemoApp); | ||
platformBrowserDynamic().bootstrapModule(DemoModule); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import {NgModule} from '@angular/core'; | ||
import {Resizable, ResizeHandle} from './resizable.directive'; | ||
|
||
@NgModule({ | ||
declarations: [Resizable, ResizeHandle], | ||
exports: [Resizable, ResizeHandle] | ||
}) | ||
export class ResizableModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.