Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
a849eddf15c66b4ea9261709a2748a5e38a0fa00
Branches
master
Files
Commits
Log
Graph
Stats
angular-http-cache-interceptor.git
src
app
non-cache
bootstrap
bootstrap.component.ts
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 9
Mode: application/typescript
Binary: false
Hang on, we reloading big blames...
248ac3a3
import { Component, OnInit } from '@angular/core';
18d9f050
import {HighlightService} from "../../common/highlight.service";
248ac3a3
@Component({ selector: 'p3x-bootstrap', templateUrl: './bootstrap.component.html', styleUrls: ['./bootstrap.component.scss'] }) export class BootstrapComponent implements OnInit { defaultSettings: string
18d9f050
constructor(private service: HighlightService) { }
248ac3a3
ngOnInit(): void {
18d9f050
this.defaultSettings = this.service.hljs.highlight('typescript', `import { P3XHttpCacheInterceptorModule, CachingHeaders, CachingStore } from 'p3x-angular-http-cache-interceptor';
248ac3a3
@NgModule({ declarations: [], imports: [ P3XHttpCacheInterceptorModule.forRoot({ behavior: CachingHeaders.NoCache, store: CachingStore.Global, }), CommonModule ] }) export class NonCacheModule { }`).value
18d9f050
248ac3a3
} }