Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
97867576bcfc666e3c0359f9fff42bd023f77588
Branches
master
Files
Commits
Log
Graph
Stats
angular-http-cache-interceptor.git
src
app
cache
bootstrap
bootstrap.component.ts
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 7
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.Cache, store: CachingStore.Global, }), CommonModule ] }) export class NonCacheModule { }`).value } }