Skip to content

Commit

Permalink
Merge pull request gothinkster#2 from npx/qol
Browse files Browse the repository at this point in the history
Some Minor QoL changes
  • Loading branch information
EricSimons authored Oct 12, 2016
2 parents 1892789 + 8cdf907 commit 8f5cb50
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/app/article/article-resolver.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable, } from '@angular/core';
import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router';
import { Observable } from 'rxjs/Rx';

import { Article, ArticlesService, Errors, UserService } from '../shared';
import { Article, ArticlesService, UserService } from '../shared';

@Injectable()
export class ArticleResolver implements Resolve<Article> {
Expand Down
2 changes: 1 addition & 1 deletion src/app/article/article.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RouterModule } from '@angular/router';
import { ArticleComponent } from './article.component';
import { ArticleCommentComponent } from './article-comment.component';
import { ArticleResolver } from './article-resolver.service';
import { MarkdownPipe } from './markdown.pipe.ts';
import { MarkdownPipe } from './markdown.pipe';
import { SharedModule } from '../shared';

const articleRouting: ModuleWithProviders = RouterModule.forChild([
Expand Down
2 changes: 1 addition & 1 deletion src/app/profile/profile-articles.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ArticleListConfig, Profile } from '../shared';
selector: 'profile-articles',
templateUrl: './profile-articles.component.html'
})
export class ProfileArticlesComponent {
export class ProfileArticlesComponent implements OnInit {
constructor(
private route: ActivatedRoute,
private router: Router
Expand Down
2 changes: 1 addition & 1 deletion src/app/profile/profile-favorites.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ArticleListConfig, Profile } from '../shared';
selector: 'profile-favorites',
templateUrl: './profile-favorites.component.html'
})
export class ProfileFavoritesComponent {
export class ProfileFavoritesComponent implements OnInit {
constructor(
private route: ActivatedRoute,
private router: Router
Expand Down
2 changes: 1 addition & 1 deletion src/app/profile/profile-resolver.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable, } from '@angular/core';
import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router';
import { Observable } from 'rxjs/Rx';

import { Profile, ProfilesService, UserService } from '../shared';
import { Profile, ProfilesService } from '../shared';

@Injectable()
export class ProfileResolver implements Resolve<Profile> {
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/buttons/follow-button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class FollowButtonComponent {

@Input() profile: Profile;
@Output() onToggle = new EventEmitter<boolean>();
isSubmitting = false
isSubmitting = false;

toggleFollowing() {
this.isSubmitting = true;
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export * from './layout';
export * from './list-errors.component';
export * from './models';
export * from './services';
export * from './shared.module.ts';
export * from './shared.module';
export * from './show-authed.directive';
2 changes: 0 additions & 2 deletions src/app/shared/services/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { Injectable } from '@angular/core';
import { environment } from '../../../environments/environment';
import { Headers, Http, Response, URLSearchParams } from '@angular/http';
import { Observable } from 'rxjs/Rx';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { ReplaySubject } from 'rxjs/ReplaySubject';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/catch';

Expand Down
3 changes: 1 addition & 2 deletions src/app/shared/services/user.service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Injectable } from '@angular/core';
import { environment } from '../../../environments/environment';
import { Http, Response } from '@angular/http';
import { Http } from '@angular/http';
import { Observable } from 'rxjs/Rx';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { ReplaySubject } from 'rxjs/ReplaySubject';
Expand Down

0 comments on commit 8f5cb50

Please sign in to comment.