This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Component, ViewChild } from '@angular/core'; | |
| declare var $: any; | |
| declare var window; | |
| @Component({ | |
| selector: 'app-init', | |
| templateUrl: './app.component.html' | |
| }) | |
| export class AppInit { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.resize = (function () { | |
| 'use strict'; | |
| function Resize() {} | |
| Resize.prototype = { | |
| init: function(outputQuality) { | |
| this.outputQuality = (outputQuality === 'undefined' ? 0.8 : outputQuality); | |
| }, |