Skip to content

Commit

Permalink
refactor(util): comment out binary test so that the client will work …
Browse files Browse the repository at this point in the history
…on a server side nodejs app

this is mainly a hack. may run into issues when attempting to send actual binary data.

peers#103
  • Loading branch information
web-mech committed Jan 19, 2018
1 parent 10529b6 commit 939138d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/util.js
Expand Up @@ -113,11 +113,11 @@ var util = {

if (data) {
// Binary test
try {
dc.binaryType = 'blob';
binaryBlob = true;
} catch (e) {
}
//try {
// dc.binaryType = 'blob';
// binaryBlob = true;
//} catch (e) {
//}

// Reliable test.
// Unfortunately Chrome is a bit unreliable about whether or not they
Expand Down

0 comments on commit 939138d

Please sign in to comment.