-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog-blog-module-es5.js.map
1 lines (1 loc) · 6.55 KB
/
blog-blog-module-es5.js.map
1
{"version":3,"sources":["webpack:///src/app/blog/blog-routing.module.ts","webpack:///src/app/blog/blog.component.ts","webpack:///src/app/blog/blog.component.html","webpack:///src/app/blog/blog.module.ts"],"names":["routes","path","component","BlogRoutingModule","forChild","imports","exports","BlogComponent","scullyService","blogService","titleService","renderer2","document","getCurrent","subscribe","route","post","date","getPostDateFormRoute","setTitle","title","s","createElement","type","src","setAttribute","text","appendChild","querySelector","selector","templateUrl","styleUrls","preserveWhitespaces","BlogModule","declarations"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;;AAKA,QAAMA,MAAM,GAAW,CACrB;AACEC,UAAI,EAAE,OADR;AAEEC,eAAS,EAAE;AAFb,KADqB,EAKrB;AACED,UAAI,EAAE,IADR;AAEEC,eAAS,EAAE;AAFb,KALqB,CAAvB;;QAeaC,iB;;;;;YAAAA;;;;yBAAAA,iB;AAAiB,O;AAAA,gBAHnB,CAAC,6DAAaC,QAAb,CAAsBJ,MAAtB,CAAD,CAGmB,EAFlB,4DAEkB;;;;0HAAjBG,iB,EAAiB;AAAA;AAAA,kBAFlB,4DAEkB;AAAA,O;AAFN,K;;;;;sEAEXA,iB,EAAiB;cAJ7B,sDAI6B;eAJpB;AACRE,iBAAO,EAAE,CAAC,6DAAaD,QAAb,CAAsBJ,MAAtB,CAAD,CADD;AAERM,iBAAO,EAAE,CAAC,4DAAD;AAFD,S;AAIoB,Q;;;;;;;;;;;;;;;;;;ACpB9B;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;A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AAFD,S;AAIa,Q","file":"blog-blog-module-es5.js","sourcesContent":["import {NgModule} from '@angular/core';\r\nimport {Routes, RouterModule} from '@angular/router';\r\n\r\nimport {BlogComponent} from './blog.component';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: ':slug',\r\n component: BlogComponent,\r\n },\r\n {\r\n path: '**',\r\n component: BlogComponent,\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class BlogRoutingModule {}\r\n\r\n","import { Component, OnInit, Renderer2, Inject, AfterViewInit } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { ScullyRoutesService, ScullyRoute } from '@scullyio/ng-lib';\r\nimport { BlogService } from '../core/blog.service';\r\n\r\n@Component({\r\n selector: 'app-blog',\r\n templateUrl: './blog.component.html',\r\n styleUrls: ['./blog.component.css'],\r\n preserveWhitespaces: true,\r\n})\r\nexport class BlogComponent implements OnInit {\r\n post: ScullyRoute;\r\n\r\n constructor(\r\n private scullyService: ScullyRoutesService,\r\n private blogService: BlogService,\r\n private titleService: Title,\r\n private renderer2: Renderer2,\r\n @Inject(DOCUMENT) private document\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.scullyService.getCurrent().subscribe((route) => {\r\n this.post = route;\r\n this.post.date = this.blogService.getPostDateFormRoute(this.post.route);\r\n this.titleService.setTitle(route.title);\r\n });\r\n\r\n const s = this.renderer2.createElement('script');\r\n s.type = 'text/javascript';\r\n s.src = 'https://utteranc.es/client.js';\r\n s.setAttribute('repo', 'thomascsd/thomascsd.github.io');\r\n s.setAttribute('issue-term', 'pathname');\r\n s.setAttribute('theme', 'github-light');\r\n s.setAttribute('crossorigin', 'anonymous');\r\n s.text = ``;\r\n this.renderer2.appendChild(this.document.querySelector('#comments'), s);\r\n }\r\n}\r\n","<div>\r\n <!-- Page Header -->\r\n <app-post-header\r\n *ngIf=\"post\"\r\n [title]=\"post.title\"\r\n [postDate]=\"post.date\"\r\n [bgImageUrl]=\"post.bgImageUrl\"\r\n ></app-post-header>\r\n\r\n <article>\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\r\n <scully-content></scully-content>\r\n </div>\r\n </div>\r\n\r\n <hr />\r\n <div class=\"row\">\r\n <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\r\n <div id=\"comments\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </article>\r\n</div>\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { ScullyLibModule } from '@scullyio/ng-lib';\r\nimport { BlogRoutingModule } from './blog-routing.module';\r\nimport { BlogComponent } from './blog.component';\r\nimport { SharedModule } from '../shared/shared.module';\r\n\r\n@NgModule({\r\n declarations: [BlogComponent],\r\n imports: [CommonModule, BlogRoutingModule, ScullyLibModule, SharedModule],\r\n})\r\nexport class BlogModule {}\r\n"]}