diff --git a/src/PinkParrot/Modules/UI/Account/AccountController.cs b/src/PinkParrot/Modules/UI/Account/AccountController.cs index 0167d7342..7ba7a3a68 100644 --- a/src/PinkParrot/Modules/UI/Account/AccountController.cs +++ b/src/PinkParrot/Modules/UI/Account/AccountController.cs @@ -13,7 +13,7 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.MongoDB; using Microsoft.AspNetCore.Mvc; - +// ReSharper disable RedundantIfElseBlock // ReSharper disable ConvertIfStatementToReturnStatement namespace PinkParrot.Modules.UI.Account diff --git a/src/PinkParrot/app/app.component.ts b/src/PinkParrot/app/app.component.ts index 6da7a2663..c29be2a1d 100644 --- a/src/PinkParrot/app/app.component.ts +++ b/src/PinkParrot/app/app.component.ts @@ -1,4 +1,11 @@ -import * as Ng2 from '@angular/core'; +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + +import * as Ng2 from '@angular/core'; @Ng2.Component({ selector: 'my-app', diff --git a/src/PinkParrot/app/app.module.ts b/src/PinkParrot/app/app.module.ts index 5b399005e..c6116b74f 100644 --- a/src/PinkParrot/app/app.module.ts +++ b/src/PinkParrot/app/app.module.ts @@ -1,3 +1,10 @@ +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + import * as Ng2 from '@angular/core'; import * as Ng2Browser from '@angular/platform-browser'; diff --git a/src/PinkParrot/app/app.routes.ts b/src/PinkParrot/app/app.routes.ts index d2576843e..8719c40b5 100644 --- a/src/PinkParrot/app/app.routes.ts +++ b/src/PinkParrot/app/app.routes.ts @@ -1,4 +1,11 @@ -import * as Ng2 from '@angular/core'; +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + +import * as Ng2 from '@angular/core'; import * as Ng2Router from '@angular/router'; import { diff --git a/src/PinkParrot/app/framework/declarations.ts b/src/PinkParrot/app/framework/declarations.ts index 5f14245ad..a01c88c61 100644 --- a/src/PinkParrot/app/framework/declarations.ts +++ b/src/PinkParrot/app/framework/declarations.ts @@ -1,4 +1,11 @@ -export * from './angular/cloak.directive'; +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + +export * from './angular/cloak.directive'; export * from './angular/color-picker.component'; export * from './angular/date-time.pipes'; export * from './angular/drag-model.directive'; diff --git a/src/PinkParrot/app/framework/framework.module.ts b/src/PinkParrot/app/framework/framework.module.ts index b37e58315..f15b8a0b1 100644 --- a/src/PinkParrot/app/framework/framework.module.ts +++ b/src/PinkParrot/app/framework/framework.module.ts @@ -1,4 +1,11 @@ -import * as Ng2 from '@angular/core'; +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + +import * as Ng2 from '@angular/core'; import * as Ng2Http from '@angular/http'; import * as Ng2Forms from '@angular/forms'; import * as Ng2Common from '@angular/common'; diff --git a/src/PinkParrot/app/main.ts b/src/PinkParrot/app/main.ts index 5437729ac..5991e9314 100644 --- a/src/PinkParrot/app/main.ts +++ b/src/PinkParrot/app/main.ts @@ -1,4 +1,11 @@ -import './theme/theme.scss'; +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + +import './theme/theme.scss'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { enableProdMode } from '@angular/core'; diff --git a/src/PinkParrot/app/polyfills.ts b/src/PinkParrot/app/polyfills.ts index cacff420a..f727d21e3 100644 --- a/src/PinkParrot/app/polyfills.ts +++ b/src/PinkParrot/app/polyfills.ts @@ -1,4 +1,11 @@ -import 'core-js/es6'; +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + +import 'core-js/es6'; import 'reflect-metadata'; require('zone.js/dist/zone'); diff --git a/src/PinkParrot/app/shared/guards/auth.guard.ts b/src/PinkParrot/app/shared/guards/auth.guard.ts index 2c22af031..3ad6771ef 100644 --- a/src/PinkParrot/app/shared/guards/auth.guard.ts +++ b/src/PinkParrot/app/shared/guards/auth.guard.ts @@ -1,3 +1,10 @@ +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + import * as Ng2 from '@angular/core'; import * as Ng2Router from '@angular/router'; diff --git a/src/PinkParrot/app/shared/services/auth.service.ts b/src/PinkParrot/app/shared/services/auth.service.ts index 5e259c7fd..29ff86daa 100644 --- a/src/PinkParrot/app/shared/services/auth.service.ts +++ b/src/PinkParrot/app/shared/services/auth.service.ts @@ -42,6 +42,7 @@ export class AuthService { this.userManager.getUser() .then((user) => { + debugger; this.currentUser = user; }) .catch((err) => { diff --git a/src/PinkParrot/app/vendor.ts b/src/PinkParrot/app/vendor.ts index 5d98267d8..0997845fc 100644 --- a/src/PinkParrot/app/vendor.ts +++ b/src/PinkParrot/app/vendor.ts @@ -1,4 +1,11 @@ -// Angular 2 +/* + *PinkParrot CMS + * + * @license + * Copyright (c) Sebastian Stehle. All rights reserved + */ + +// Angular 2 import '@angular/platform-browser'; import '@angular/platform-browser-dynamic'; import '@angular/core';