Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ObservableMedia): use ObservableMedia class as provider token #158

Merged
merged 1 commit into from
Feb 7, 2017

Commits on Feb 6, 2017

  1. feat(ObservableMedia): use ObservableMedia class as provider token

    *  Refactor BreakPoint-related classes.
    *  Refactor implementations of Providers
    *  Improve DI and replace `ObservableMediaService` opaque token with **`ObservableMedia`** class
    
    BREAKING CHANGE:
    
    Deprecated use of `ObservableMediaService` opaque token. Developers now simply use the ObservableMedia class to inject the service.
    
    *before*
    
    ```js
    constructor( @Inject(ObserverableMediaService) private media:any ) { ... }
    ```
    
    **after**
    ```js
    constructor(private media:ObservableMedia) { ... }
    ```
    ThomasBurleson committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    4b1ee6d View commit details
    Browse the repository at this point in the history