Skip to content

Commit

Permalink
Revert "#5: Parent component can be used for setting framework urls"
Browse files Browse the repository at this point in the history
This reverts commit 723c8d1.
  • Loading branch information
ManuelRauber committed Feb 15, 2016
1 parent 723c8d1 commit 08c300a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/ng2client/app/components/app/app.ts
Expand Up @@ -6,8 +6,7 @@ import {LoginComponent} from '../login/login';
selector: 'nfn-app',
templateUrl: 'app/components/app/app.html',
encapsulation: ViewEncapsulation.Native,
directives: [RouterOutlet],
styleUrls: ['css/purecss/pure.css']
directives: [RouterOutlet]
})
@RouteConfig([
new Route({ path: '/login', name: 'Login', component: LoginComponent, useAsDefault: true }),
Expand Down
3 changes: 2 additions & 1 deletion src/ng2client/app/components/login/login.ts
@@ -1,9 +1,10 @@
import {Component} from 'angular2/core';
import {STYLE_URL_FRAMEWORKS} from '../styleConfig';

@Component({
selector: 'nfn-login',
templateUrl: 'app/components/login/login.html',
styleUrls: ['app/components/login/login.css']
styleUrls: STYLE_URL_FRAMEWORKS.concat(['app/components/login/login.css'])
})
export class LoginComponent {

Expand Down
3 changes: 3 additions & 0 deletions src/ng2client/app/components/styleConfig.ts
@@ -0,0 +1,3 @@
export const STYLE_URL_FRAMEWORKS = [
'css/purecss/pure.css'
];

0 comments on commit 08c300a

Please sign in to comment.