Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(build): Updated to use ngx-base
Browse files Browse the repository at this point in the history
Using Broadcaster and Logger types from ngx-base.
  • Loading branch information
VineetReynolds committed Mar 21, 2017
1 parent 93b8a78 commit 8578ad1
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 85 deletions.
2 changes: 0 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ export { AUTH_API_URL } from './src/app/shared/auth-api';
export { SSO_API_URL } from './src/app/shared/sso-api';
export { AlmUserName } from './src/app/user/alm-user-name.pipe';
export { AuthenticationService } from './src/app/auth/authentication.service';
export { Broadcaster } from './src/app/shared/broadcaster.service';
export { Logger } from './src/app/shared/logger.service';
export { HttpService } from './src/app/shared/http.service';
export { UserService } from './src/app/user/user.service';
export { Entity } from './src/app/user/entity';
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"mocha": "3.2.0",
"moment": "2.17.1",
"ng-router-loader": "2.1.0",
"ngx-base": "1.2.0",
"node-sass": "4.5.0",
"npm-run-all": "4.0.2",
"null-loader": "0.1.1",
Expand Down
3 changes: 2 additions & 1 deletion src/app/auth/authentication.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Injectable, Inject } from '@angular/core';
import { Http, Response, Headers, RequestOptions } from '@angular/http';

import { Broadcaster } from '../shared/broadcaster.service';
import { Broadcaster } from 'ngx-base';

import { Token } from '../user/token';
import { AUTH_API_URL } from '../shared/auth-api';
import { Observable } from 'rxjs';
Expand Down
71 changes: 0 additions & 71 deletions src/app/shared/broadcaster.service.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/shared/http.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import 'rxjs/add/operator/map';
import 'rxjs/add/operator/catch';
import 'rxjs/add/observable/of';

import { Broadcaster } from './broadcaster.service';
import { Broadcaster } from 'ngx-base';

@Injectable()
export class HttpService extends Http {
Expand Down
8 changes: 0 additions & 8 deletions src/app/shared/logger.service.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/app/user/user.service.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Broadcaster } from './../shared/broadcaster.service';
import { Injectable, Inject } from '@angular/core';
import { Headers, Http } from '@angular/http';
import { Observable, ConnectableObservable, ReplaySubject, Subject } from 'rxjs';

import { cloneDeep } from 'lodash';
import { Broadcaster } from 'ngx-base';
import { Logger } from 'ngx-base';

import { Logger } from '../shared/logger.service';
import { AUTH_API_URL } from '../shared/auth-api';
import { User } from './user';

Expand Down

0 comments on commit 8578ad1

Please sign in to comment.