-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog-blog-module-es2015.js.map
1 lines (1 loc) · 5.79 KB
/
blog-blog-module-es2015.js.map
1
{"version":3,"sources":["./src/app/blog/blog-routing.module.ts","./src/app/blog/blog.component.ts","./src/app/blog/blog.component.html","./src/app/blog/blog.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuC;AACc;AAEN;;;AAE/C,MAAM,MAAM,GAAW;IACrB;QACE,IAAI,EAAE,OAAO;QACb,SAAS,EAAE,6DAAa;KACzB;IACD;QACE,IAAI,EAAE,IAAI;QACV,SAAS,EAAE,6DAAa;KACzB;CACF,CAAC;AAMK,MAAM,iBAAiB;;gGAAjB,iBAAiB;4JAAjB,iBAAiB,kBAHnB,CAAC,4DAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC9B,4DAAY;mIAEX,iBAAiB,uFAFlB,4DAAY;6FAEX,iBAAiB;cAJ7B,sDAAQ;eAAC;gBACR,OAAO,EAAE,CAAC,4DAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;gBACxC,OAAO,EAAE,CAAC,4DAAY,CAAC;aACxB;;;;;;;;;;;;;;ACnBD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoF;AAEzC;;;;;;;;ICAzC,gFAKmB;;;IAHjB,oFAAoB;;ADQjB,MAAM,aAAa;IAGxB,YACU,aAAkC,EAClC,WAAwB,EACxB,YAAmB,EACnB,SAAoB,EACF,QAAQ;QAJ1B,kBAAa,GAAb,aAAa,CAAqB;QAClC,gBAAW,GAAX,WAAW,CAAa;QACxB,iBAAY,GAAZ,YAAY,CAAO;QACnB,cAAS,GAAT,SAAS,CAAW;QACF,aAAQ,GAAR,QAAQ;IACjC,CAAC;IAEJ,QAAQ;QACN,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE;YAClD,IAAI,CAAC,IAAI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0EAAY;;6FDSH,aAAa;cANzB,uDAAS;eAAC;gBACT,QAAQ,EAAE,UAAU;gBACpB,WAAW,EAAE,uBAAuB;gBACpC,SAAS,EAAE,CAAC,sBAAsB,CAAC;gBACnC,mBAAmB,EAAE,IAAI;aAC1B;;sBASI,oDAAM;uBAAC,wDAAQ;;;;;;;;;;;;;;AEpBpB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+C;AACN;AACU;AACO;AACT;AACM;;AAMhD,MAAM,UAAU;;yFAAV,UAAU;8IAAV,UAAU,kBAFZ,CAAC,4DAAY,EAAE,sEAAiB,EAAE,gEAAe,EAAE,kEAAY,CAAC;mIAE9D,UAAU,mBAHN,6DAAa,aAClB,4DAAY,EAAE,sEAAiB,EAAE,gEAAe,EAAE,kEAAY;6FAE7D,UAAU;cAJtB,sDAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,6DAAa,CAAC;gBAC7B,OAAO,EAAE,CAAC,4DAAY,EAAE,sEAAiB,EAAE,gEAAe,EAAE,kEAAY,CAAC;aAC1E","file":"blog-blog-module-es2015.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"],"sourceRoot":"webpack:///"}