From 808dd3d17116025422de62d087feb4d1df8d4b9d Mon Sep 17 00:00:00 2001 From: Keith Katsma Date: Sun, 16 Oct 2016 18:25:05 -0500 Subject: [PATCH] Updated README.md, removed some unused code --- README.md | 2 +- src/app/app.component.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index ba76d45..7024212 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ I have made some small efforts to try to do things in more angular friendly appr ### Other dependencies (jquery-flot and font-awesome) **jquery-flot** -The hardest challenge to the conversion was incorporation of jquery-flot and font-awesome. Jquery-flot doesn't follow module patterns currently in use for webpack/typescript, so had to do some individual file imports. I also had to bring in the flot-spline depency as a file import from a "vendors" folder. I did not want to use bower, which is the only library source for this file currently - at least that which I could fine. +The hardest challenge to the conversion was incorporation of jquery-flot and font-awesome. Jquery-flot doesn't follow module patterns currently in use for webpack/typescript, so had to do some individual file imports. I also had to bring in the flot-spline depency as a file import from a "vendors" folder. I did not want to use bower, which is the only library source for this file currently - at least that which I could find. **font-awesome** I used font-awesome-webpack to bring in the font-awesome components. There is an ugly hack in the import for this in the app modulke, mainly because of an issue with webpack2 outlined here - there is a fork with the fix included, but I didn't use. I include ng2-fontawesome, and use in one place, but most is just left as styles in HTML. diff --git a/src/app/app.component.ts b/src/app/app.component.ts index bbe92aa..e72b761 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -18,9 +18,6 @@ import { AppState } from './app.service'; templateUrl: './app.component.html' }) export class App { - angularclassLogo = 'assets/img/angularclass-avatar.png'; - name = 'Angular 2 Webpack Starter'; - url = 'https://twitter.com/AngularClass'; constructor( public appState: AppState) {