Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e24f9794c5 | ||
|
|
5daa64d962 | ||
|
|
b939f4d4f3 |
@@ -25,6 +25,14 @@
|
|||||||
"/**/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
|
"/**/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "excluded-redirects",
|
||||||
|
"installMode": "lazy",
|
||||||
|
"updateMode": "lazy",
|
||||||
|
"resources": {
|
||||||
|
"urls": [ "/**" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
1875
package-lock.json
generated
1875
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -47,7 +47,7 @@ export class AppComponent implements OnInit {
|
|||||||
var playersPerTeam = Math.floor(names.length / this.numTeamsSelected);
|
var playersPerTeam = Math.floor(names.length / this.numTeamsSelected);
|
||||||
|
|
||||||
let nameslen = names.length;
|
let nameslen = names.length;
|
||||||
function* iter(list: any){
|
function* iter(list: any[]){
|
||||||
let index = 0;
|
let index = 0;
|
||||||
while(true){
|
while(true){
|
||||||
yield list[index % list.length];
|
yield list[index % list.length];
|
||||||
|
|||||||
@@ -7,8 +7,10 @@ import { provideAnimationsAsync } from '@angular/platform-browser/animations/asy
|
|||||||
import { provideServiceWorker } from '@angular/service-worker';
|
import { provideServiceWorker } from '@angular/service-worker';
|
||||||
|
|
||||||
export const appConfig: ApplicationConfig = {
|
export const appConfig: ApplicationConfig = {
|
||||||
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes), provideClientHydration(withEventReplay()), provideAnimationsAsync('noop'), provideServiceWorker('ngsw-worker.js', {
|
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes),
|
||||||
enabled: !isDevMode(),
|
provideClientHydration(withEventReplay()), provideAnimationsAsync('noop'),
|
||||||
registrationStrategy: 'registerWhenStable:30000'
|
provideServiceWorker('ngsw-worker.js', {
|
||||||
|
enabled: !isDevMode(),
|
||||||
|
registrationStrategy: 'registerWhenStable:30000'
|
||||||
})]
|
})]
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user