externalize system config js in demo and fix some tslin error

This commit is contained in:
Eugenio Romano
2016-05-27 10:40:01 +01:00
parent bf2573077b
commit 9e721327ef
32 changed files with 375 additions and 189 deletions

View File

@@ -60,7 +60,7 @@ export class ViewerComponent {
let scale = 1.5;
let viewport = page.getViewport(scale);
let canvas: any = document.getElementById('the-canvas');
let canvas: any = document.getElementById('viewer-the-canvas');
if (canvas) {
let context = canvas.getContext('2d');