Skip to content
Snippets Groups Projects
Commit 1839681b authored by Minko Gechev's avatar Minko Gechev Committed by GitHub
Browse files

Merge pull request #1211 from mgechev/remove-plus

refactor: remove "+" directory prefix for bounded contexts
parents cef1e985 f8ab4773
No related branches found
No related tags found
No related merge requests found
Showing
with 14 additions and 17 deletions
...@@ -3,4 +3,3 @@ ...@@ -3,4 +3,3 @@
*/ */
export * from './about.component'; export * from './about.component';
export * from './about.routes'; export * from './about.routes';
...@@ -13,8 +13,8 @@ import { ...@@ -13,8 +13,8 @@ import {
// import {provideFakeRouter} from '../testing/router/router-testing-providers'; // import {provideFakeRouter} from '../testing/router/router-testing-providers';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
import { HomeComponent } from './+home/home.component'; import { HomeComponent } from './home/home.component';
import { AboutComponent } from './+about/about.component'; import { AboutComponent } from './about/about.component';
export function main() { export function main() {
......
...@@ -6,8 +6,8 @@ import { HttpModule } from '@angular/http'; ...@@ -6,8 +6,8 @@ import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
import { routes } from './app.routes'; import { routes } from './app.routes';
import { AboutModule } from './+about/about.module'; import { AboutModule } from './about/about.module';
import { HomeModule } from './+home/home.module'; import { HomeModule } from './home/home.module';
import { SharedModule } from './shared/shared.module'; import { SharedModule } from './shared/shared.module';
@NgModule({ @NgModule({
......
import { Routes } from '@angular/router'; import { Routes } from '@angular/router';
import { AboutRoutes } from './+about/index'; import { AboutRoutes } from './about/index';
import { HomeRoutes } from './+home/index'; import { HomeRoutes } from './home/index';
export const routes: Routes = [ export const routes: Routes = [
...HomeRoutes, ...HomeRoutes,
......
...@@ -37,10 +37,10 @@ export class HomeComponent implements OnInit { ...@@ -37,10 +37,10 @@ export class HomeComponent implements OnInit {
*/ */
getNames() { getNames() {
this.nameListService.get() this.nameListService.get()
.subscribe( .subscribe(
names => this.names = names, names => this.names = names,
error => this.errorMessage = <any>error error => this.errorMessage = <any>error
); );
} }
/** /**
......
...@@ -5,10 +5,9 @@ import { HomeComponent } from './home.component'; ...@@ -5,10 +5,9 @@ import { HomeComponent } from './home.component';
import { NameListService } from '../shared/name-list/index'; import { NameListService } from '../shared/name-list/index';
@NgModule({ @NgModule({
imports: [CommonModule, SharedModule], imports: [CommonModule, SharedModule],
declarations: [HomeComponent], declarations: [HomeComponent],
exports: [HomeComponent], exports: [HomeComponent],
providers: [NameListService] providers: [NameListService]
}) })
export class HomeModule { } export class HomeModule { }
...@@ -3,4 +3,3 @@ ...@@ -3,4 +3,3 @@
*/ */
export * from './home.component'; export * from './home.component';
export * from './home.routes'; export * from './home.routes';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment