angular-prism
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -1,3 +0,3 @@ | ||
import { Renderer2, ElementRef, AfterViewInit, OnInit } from '@angular/core'; | ||
export declare class PrismComponent implements AfterViewInit, OnInit { | ||
import { Renderer2, ElementRef, AfterViewInit } from '@angular/core'; | ||
export declare class PrismComponent implements AfterViewInit { | ||
private _renderer; | ||
@@ -10,5 +10,4 @@ private _el; | ||
private nativeElement; | ||
ngOnInit(): void; | ||
ngAfterViewInit(): void; | ||
constructor(_renderer: Renderer2, _el: ElementRef); | ||
} |
@@ -19,4 +19,2 @@ "use strict"; | ||
} | ||
ngOnInit() { | ||
} | ||
ngAfterViewInit() { | ||
@@ -23,0 +21,0 @@ this.preNode = this._renderer.createElement('pre'); |
{ | ||
"name": "angular-prism", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "ngc -p tsconfig.json", |
@@ -1,3 +0,4 @@ | ||
import { Component, Input, Renderer2, ElementRef, AfterViewInit, OnInit } from '@angular/core'; | ||
import { Component, Input, Renderer2, ElementRef, AfterViewInit } from '@angular/core'; | ||
declare var Prism: any; | ||
@Component({ | ||
@@ -7,3 +8,3 @@ selector: 'prism-block', | ||
}) | ||
export class PrismComponent implements AfterViewInit, OnInit { | ||
export class PrismComponent implements AfterViewInit { | ||
@Input() code: string; | ||
@@ -14,5 +15,2 @@ @Input() language: string; | ||
private nativeElement: Node; | ||
ngOnInit() { | ||
} | ||
ngAfterViewInit () { | ||
@@ -19,0 +17,0 @@ this.preNode = this._renderer.createElement('pre'); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11013
227