ng2-pdfjs-viewer
Advanced tools
Comparing version 0.2.27 to 0.2.28
14
index.js
@@ -65,7 +65,11 @@ import { Component, Input, NgModule, ViewChild } from '@angular/core'; | ||
} | ||
console.log("Tab is - " + this.viewerTab); | ||
if (this.viewerTab) { | ||
console.log("Status of window - " + this.viewerTab.closed); | ||
} | ||
if (this.externalWindow && typeof this.viewerTab === 'undefined') { | ||
// console.log(`Tab is - ${this.viewerTab}`); | ||
// if (this.viewerTab) { | ||
// console.log(`Status of window - ${this.viewerTab.closed}`); | ||
// } | ||
// console.log(`Tab is - ${this.viewerTab}`); | ||
// if (this.viewerTab) { | ||
// console.log(`Status of window - ${this.viewerTab.closed}`); | ||
// } | ||
if (this.externalWindow && (typeof this.viewerTab === 'undefined' || this.viewerTab.closed)) { | ||
this.viewerTab = window.open('', '_blank'); | ||
@@ -72,0 +76,0 @@ if (this.viewerTab == null) { |
@@ -68,7 +68,11 @@ (function (global, factory) { | ||
} | ||
console.log("Tab is - " + this.viewerTab); | ||
if (this.viewerTab) { | ||
console.log("Status of window - " + this.viewerTab.closed); | ||
} | ||
if (this.externalWindow && typeof this.viewerTab === 'undefined') { | ||
// console.log(`Tab is - ${this.viewerTab}`); | ||
// if (this.viewerTab) { | ||
// console.log(`Status of window - ${this.viewerTab.closed}`); | ||
// } | ||
// console.log(`Tab is - ${this.viewerTab}`); | ||
// if (this.viewerTab) { | ||
// console.log(`Status of window - ${this.viewerTab.closed}`); | ||
// } | ||
if (this.externalWindow && (typeof this.viewerTab === 'undefined' || this.viewerTab.closed)) { | ||
this.viewerTab = window.open('', '_blank'); | ||
@@ -75,0 +79,0 @@ if (this.viewerTab == null) { |
{ | ||
"name": "ng2-pdfjs-viewer", | ||
"version": "0.2.27", | ||
"version": "0.2.28", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
8905061
73991