mirror of
https://github.com/jwetzell/itsfiveoclockwhere.git
synced 2026-07-26 10:28:45 +00:00
more cleanup
This commit is contained in:
Generated
-52
@@ -12,10 +12,8 @@
|
||||
"@angular/common": "^14.2.10",
|
||||
"@angular/compiler": "^14.2.10",
|
||||
"@angular/core": "^14.2.10",
|
||||
"@angular/forms": "^14.2.10",
|
||||
"@angular/platform-browser": "^14.2.10",
|
||||
"@angular/platform-browser-dynamic": "^14.2.10",
|
||||
"@angular/router": "^14.2.10",
|
||||
"luxon": "^2.5.0",
|
||||
"rxjs": "~7.4.0",
|
||||
"tslib": "^2.4.1",
|
||||
@@ -537,23 +535,6 @@
|
||||
"zone.js": "~0.11.4 || ~0.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@angular/forms": {
|
||||
"version": "14.2.10",
|
||||
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.2.10.tgz",
|
||||
"integrity": "sha512-6Wa7Knx+dbVS9+Z05m86pErRb1f3uG9gQ30+nRenjJW1d3HCyFPj6gteqQPUAOhtc4zN4L33pR52UuKoHUYJOQ==",
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.15.0 || >=16.10.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/common": "14.2.10",
|
||||
"@angular/core": "14.2.10",
|
||||
"@angular/platform-browser": "14.2.10",
|
||||
"rxjs": "^6.5.3 || ^7.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@angular/platform-browser": {
|
||||
"version": "14.2.10",
|
||||
"resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-14.2.10.tgz",
|
||||
@@ -592,23 +573,6 @@
|
||||
"@angular/platform-browser": "14.2.10"
|
||||
}
|
||||
},
|
||||
"node_modules/@angular/router": {
|
||||
"version": "14.2.10",
|
||||
"resolved": "https://registry.npmjs.org/@angular/router/-/router-14.2.10.tgz",
|
||||
"integrity": "sha512-Pnyy+j6WGh+VlvdsfqWCumlwCrYH5HgcJcrvmjhohTf/dtexfwTGmuqFU+6/d4vRugG84xsLH3wIlnW6P7WEXw==",
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.15.0 || >=16.10.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/common": "14.2.10",
|
||||
"@angular/core": "14.2.10",
|
||||
"@angular/platform-browser": "14.2.10",
|
||||
"rxjs": "^6.5.3 || ^7.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@assemblyscript/loader": {
|
||||
"version": "0.10.1",
|
||||
"resolved": "https://registry.npmjs.org/@assemblyscript/loader/-/loader-0.10.1.tgz",
|
||||
@@ -12206,14 +12170,6 @@
|
||||
"tslib": "^2.3.0"
|
||||
}
|
||||
},
|
||||
"@angular/forms": {
|
||||
"version": "14.2.10",
|
||||
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.2.10.tgz",
|
||||
"integrity": "sha512-6Wa7Knx+dbVS9+Z05m86pErRb1f3uG9gQ30+nRenjJW1d3HCyFPj6gteqQPUAOhtc4zN4L33pR52UuKoHUYJOQ==",
|
||||
"requires": {
|
||||
"tslib": "^2.3.0"
|
||||
}
|
||||
},
|
||||
"@angular/platform-browser": {
|
||||
"version": "14.2.10",
|
||||
"resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-14.2.10.tgz",
|
||||
@@ -12230,14 +12186,6 @@
|
||||
"tslib": "^2.3.0"
|
||||
}
|
||||
},
|
||||
"@angular/router": {
|
||||
"version": "14.2.10",
|
||||
"resolved": "https://registry.npmjs.org/@angular/router/-/router-14.2.10.tgz",
|
||||
"integrity": "sha512-Pnyy+j6WGh+VlvdsfqWCumlwCrYH5HgcJcrvmjhohTf/dtexfwTGmuqFU+6/d4vRugG84xsLH3wIlnW6P7WEXw==",
|
||||
"requires": {
|
||||
"tslib": "^2.3.0"
|
||||
}
|
||||
},
|
||||
"@assemblyscript/loader": {
|
||||
"version": "0.10.1",
|
||||
"resolved": "https://registry.npmjs.org/@assemblyscript/loader/-/loader-0.10.1.tgz",
|
||||
|
||||
@@ -14,10 +14,8 @@
|
||||
"@angular/common": "^14.2.10",
|
||||
"@angular/compiler": "^14.2.10",
|
||||
"@angular/core": "^14.2.10",
|
||||
"@angular/forms": "^14.2.10",
|
||||
"@angular/platform-browser": "^14.2.10",
|
||||
"@angular/platform-browser-dynamic": "^14.2.10",
|
||||
"@angular/router": "^14.2.10",
|
||||
"luxon": "^2.5.0",
|
||||
"rxjs": "~7.4.0",
|
||||
"tslib": "^2.4.1",
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { NavigationEnd, Router } from '@angular/router';
|
||||
import { interval, startWith } from 'rxjs';
|
||||
import { GoogleAnalyticsService } from './services/google-analytics.service';
|
||||
import { Timezone, GetClosestTimezoneFrom } from './timezone/models/timezone.model';
|
||||
@@ -23,15 +22,7 @@ export class AppComponent {
|
||||
constructor(
|
||||
private timezoneService: TimezoneService,
|
||||
private googleAnalyticsService: GoogleAnalyticsService,
|
||||
private router:Router
|
||||
){
|
||||
this.router.events.subscribe(event => {
|
||||
if (event instanceof NavigationEnd) {
|
||||
gtag('config', 'G-48B6CKS0V6',{
|
||||
'page_path': event.urlAfterRedirects
|
||||
});
|
||||
}
|
||||
})
|
||||
this.timezones = this.timezoneService.getTimezones()
|
||||
var second = interval(1000).pipe(startWith(0))
|
||||
|
||||
@@ -47,7 +38,11 @@ export class AppComponent {
|
||||
|
||||
}
|
||||
|
||||
ngOnInit(): void { }
|
||||
ngOnInit(): void {
|
||||
gtag('config', 'G-48B6CKS0V6',{
|
||||
'page_path': '/'
|
||||
});
|
||||
}
|
||||
|
||||
toggleView(){
|
||||
if(this.showAll){
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
import { TimezoneListComponent } from './timezone-list.component';
|
||||
|
||||
@@ -8,6 +9,7 @@ describe('TimezoneListComponent', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ BrowserAnimationsModule ],
|
||||
declarations: [ TimezoneListComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
Reference in New Issue
Block a user