fix(prerender): local references to window/document

This commit is contained in:
Manu Mtz.-Almeida
2018-04-19 13:26:49 +02:00
parent 86a6cde4a1
commit 78bd146ad2
42 changed files with 174 additions and 139 deletions

View File

@ -5,6 +5,7 @@ import { configFromURL, isIOS } from '../utils/platform';
const Ionic = (window as any).Ionic = (window as any).Ionic || {};
declare const Context: any;
debugger;
// queue used to coordinate DOM reads and
// write in order to avoid layout thrashing
Object.defineProperty(Ionic, 'queue', {