Stop Closure Compiler from stripping out FileReader support

This commit is contained in:
Jeff Parsons 2014-11-10 22:55:16 -08:00 • committed by jeffpar
commit 6ae24b8dae
8 changed files with 58 additions and 58 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -132,7 +132,7 @@ C1PSerialPort.prototype.setBinding = function(sHTMLClass, sHTMLType, sBinding, c
/*
* Check for availability of FileReader
*/
if (window.FileReader && window.File && window.FileList) {
if (window && 'FileReader' in window) {
this.bindings[sBinding] = control;
/*

View file

@ -474,7 +474,7 @@ FDC.prototype.setBinding = function(sHTMLClass, sHTMLType, sBinding, control)
/*
* Check for availability of FileReader
*/
if (window.FileReader && window.File && window.FileList) {
if (window && 'FileReader' in window) {
this.bindings[sBinding] = control;
/*

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long