ng2-pdfjs-viewer
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -84,4 +84,4 @@ import { Component, Input, NgModule, ViewChild } from '@angular/core'; | ||
} | ||
var /** @type {?} */ viewerUrl = "assets/" + this.pdfJsFolder + "/web/viewer.html"; | ||
//var viewerUrl = "./pdfjs/web/viewer.html"; | ||
//var viewerUrl = `assets/${this.pdfJsFolder}/web/viewer.html`; | ||
var /** @type {?} */ viewerUrl = "./pdfjs/web/viewer.html"; | ||
viewerUrl += "?file=" + fileUrl; | ||
@@ -88,0 +88,0 @@ if (this.downloadFileName) { |
@@ -87,4 +87,4 @@ (function (global, factory) { | ||
} | ||
var /** @type {?} */ viewerUrl = "assets/" + this.pdfJsFolder + "/web/viewer.html"; | ||
//var viewerUrl = "./pdfjs/web/viewer.html"; | ||
//var viewerUrl = `assets/${this.pdfJsFolder}/web/viewer.html`; | ||
var /** @type {?} */ viewerUrl = "./pdfjs/web/viewer.html"; | ||
viewerUrl += "?file=" + fileUrl; | ||
@@ -91,0 +91,0 @@ if (this.downloadFileName) { |
{ | ||
"name": "ng2-pdfjs-viewer", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"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
8901570