Skip to content

Commit

Permalink
Added demo site
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-thesunflowerlab committed Nov 2, 2019
1 parent 2f56f19 commit 168b310
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,21 @@ export class AppComponent implements OnInit {
id: 1,
sectionID: 1,
name: 'Item 1',
start: moment(),
start: moment().startOf('day'),
end: moment().add(5, 'days'),
classes: ''
}, {
id: 2,
sectionID: 3,
name: 'Item 2',
start: moment(),
start: moment().startOf('day'),
end: moment().add(3, 'days'),
classes: ''
}, {
id: 3,
sectionID: 1,
name: 'Item 3',
start: moment().add(1, 'days'),
start: moment().add(1, 'days').startOf('day'),
end: moment().add(3, 'days'),
classes: ''
}];
Expand Down Expand Up @@ -205,7 +205,7 @@ A selection of events are provided to hook into when creating the scheduler, and


# Demo
[Demo]()
[Demo](https://abhishekjain12.github.io/ngx-time-scheduler/)


# Credits
Expand Down
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/TimeScheduler",
"outputPath": "dist-demo/TimeScheduler",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
Expand Down Expand Up @@ -167,4 +167,4 @@
}
},
"defaultProject": "TimeScheduler"
}
}
12 changes: 6 additions & 6 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,22 @@ export class AppComponent implements OnInit {
id: 1,
sectionID: 1,
name: 'Item 1',
start: moment('2019-10-29'),
end: moment('2019-10-29').add(5, 'days'),
start: moment().startOf('day'),
end: moment().add(5, 'days'),
classes: ''
}, {
id: 2,
sectionID: 3,
name: 'Item 2',
start: moment('2019-10-30'),
end: moment('2019-10-30').add(4, 'days'),
start: moment().startOf('day'),
end: moment().add(4, 'days'),
classes: ''
}, {
id: 3,
sectionID: 1,
name: 'Item 3',
start: moment('2019-10-31').add(1, 'days'),
end: moment('2019-10-31').add(3, 'days'),
start: moment().add(1, 'days').startOf('day'),
end: moment().add(3, 'days'),
classes: ''
}];

Expand Down

0 comments on commit 168b310

Please sign in to comment.