Skip to content

Commit

Permalink
task(rxjs): Import methods to avoid importing all of rxjs
Browse files Browse the repository at this point in the history
  • Loading branch information
kuuurt13 committed Apr 6, 2017
1 parent b67a0fb commit 87b7fe3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import {
ViewEncapsulation,
Input
} from '@angular/core';
import { Observable, Subscription } from 'rxjs/Rx';
import 'rxjs/add/operator/map';
import { Observable } from 'rxjs/Observable';
import { Subscription } from 'rxjs/Subscription';

import { BlockUIService } from '../../services/block-ui.service';
import { BlockUIEvent } from '../../models/block-ui-action.model';
import { BlockUIActions } from '../../constants/block-ui-actions.constant';
Expand Down
3 changes: 2 additions & 1 deletion lib/services/block-ui.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Injectable } from '@angular/core';
import { Observable, Subject, ReplaySubject } from 'rxjs/Rx';
import { Observable } from 'rxjs/Observable';
import { ReplaySubject } from 'rxjs/ReplaySubject';
import { BlockUIActions } from '../constants/block-ui-actions.constant';
import { BlockUIDefaultName } from '../constants/block-ui-default-name.constant';
import { NgBlockUI } from '../models/block-ui.model';
Expand Down

0 comments on commit 87b7fe3

Please sign in to comment.