-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): export ANGULAR2_GOOGLE_MAPS_DIRECTIVES
To use the angular2-google-maps directives, you can now import a single constant that includes all released components. import {ANGULAR2_GOOGLE_MAPS_DIRECTIVES} from 'angular2_google_maps/angular2_google_maps'; @component({ selector: 'myApp', directives: [ANGULAR2_GOOGLE_MAPS_DIRECTIVES] }) class MyApp {} BREAKING CHANGE: angular2_google_maps/components module renamed to angular2_google_maps/directives
- Loading branch information
1 parent
fea8b9b
commit 83bcd9f
Showing
7 changed files
with
9 additions
and
4 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 was deleted.
Oops, something went wrong.
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,3 @@ | ||
export {SebmGoogleMap} from './directives/google_map'; | ||
export {SebmGoogleMapMarker} from './directives/google_map_marker'; | ||
export {ANGULAR2_GOOGLE_MAPS_DIRECTIVES} from './directives_const'; |
File renamed without changes.
File renamed without changes.
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,4 @@ | ||
import {SebmGoogleMap} from './directives/google_map'; | ||
import {SebmGoogleMapMarker} from './directives/google_map_marker'; | ||
|
||
export const ANGULAR2_GOOGLE_MAPS_DIRECTIVES: any[] = [SebmGoogleMap, SebmGoogleMapMarker]; |
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