need PR #993 to run on TRAVIS-CI
This commit is contained in:
parent
cbd3fad083
commit
f804d124dc
|
@ -34,7 +34,7 @@
|
|||
// when you construct the object.
|
||||
//
|
||||
var InputStream = require('./InputStream').InputStream;
|
||||
var isNodeJs = typeof window === 'undefined' && importScripts === 'undefined';
|
||||
var isNodeJs = typeof window === 'undefined' && typeof importScripts === 'undefined';
|
||||
var fs = isNodeJs ? require("fs") : null;
|
||||
|
||||
function FileStream(fileName) {
|
||||
|
|
Loading…
Reference in New Issue