From 5040890798b3b4a1501e3dffda50ac4680a0c768 Mon Sep 17 00:00:00 2001 From: Raghu-Ch Date: Thu, 5 Jul 2018 18:22:36 -0400 Subject: [PATCH] Modify README.md --- README.md | 15 ++++++++------- src/app/channellist/channellist.component.ts | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index fae496e..4c21d3f 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.0. +## Clone Repo + +Perform the clone-to-launch steps with these terminal commands. +git clone https://github.com/Raghu-Ch/KaplanTest.git +cd KaplanTest +npm install +npm start + ## Development server Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. @@ -18,10 +26,3 @@ Run `ng build` to build the project. The build artifacts will be stored in the ` Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). -## Running end-to-end tests - -Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). - -## Further help - -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). diff --git a/src/app/channellist/channellist.component.ts b/src/app/channellist/channellist.component.ts index b59508c..b80feab 100644 --- a/src/app/channellist/channellist.component.ts +++ b/src/app/channellist/channellist.component.ts @@ -32,7 +32,7 @@ export class ChannellistComponent implements OnInit { console.log(this.channels); }); } - + // Sort the list by date sortChannels() { this.channels.sort(function (channel1, channel2) { if (channel1.time < channel2.time) {