Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 03eb890

Browse files
committed
Merge branch 'issue-288' into 0.10.3
2 parents b7b4c35 + b6d375b commit 03eb890

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

polyfill/Blob.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import EventTarget from './EventTarget'
1111
const log = new Log('Blob')
1212
const blobCacheDir = fs.dirs.DocumentDir + '/RNFetchBlob-blobs/'
1313

14-
// log.disable()
15-
log.level(3)
14+
log.disable()
15+
// log.level(3)
1616

1717
/**
1818
* A RNFetchBlob style Blob polyfill class, this is a Blob which compatible to
@@ -342,6 +342,5 @@ function createMixedBlobData(ref, dataArray) {
342342
return fs.appendFile(...arg)
343343
}.bind(args[i]))
344344
}
345-
console.log('###ref', ref)
346345
return p.then(() => Promise.resolve(size))
347346
}

polyfill/Fetch.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import Blob from './Blob'
66

77
const log = new Log('FetchPolyfill')
88

9-
// log.disable()
10-
log.level(3)
9+
log.disable()
10+
// log.level(3)
1111

1212
export default class Fetch {
1313

@@ -67,7 +67,7 @@ class RNFetchBlobFetchPolyfill {
6767
log.verbose('response', resp)
6868
// release blob cache created when sending request
6969
if(blobCache !== null && blobCache instanceof Blob)
70-
// blobCache.close()
70+
blobCache.close()
7171
return Promise.resolve(new RNFetchBlobFetchRepsonse(resp))
7272
})
7373

0 commit comments

Comments
 (0)