mirror of
https://github.com/Raghu-Ch/KaplanTest.git
synced 2026-02-10 04:33:03 -05:00
Modify README.md
This commit is contained in:
15
README.md
15
README.md
@@ -2,6 +2,14 @@
|
|||||||
|
|
||||||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.0.
|
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
|
## 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.
|
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).
|
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).
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export class ChannellistComponent implements OnInit {
|
|||||||
console.log(this.channels);
|
console.log(this.channels);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// Sort the list by date
|
||||||
sortChannels() {
|
sortChannels() {
|
||||||
this.channels.sort(function (channel1, channel2) {
|
this.channels.sort(function (channel1, channel2) {
|
||||||
if (channel1.time < channel2.time) {
|
if (channel1.time < channel2.time) {
|
||||||
|
|||||||
Reference in New Issue
Block a user