Skip to content

Commit 1bb54be

Browse files
weakishleeyeh
authored andcommitted
docs: fix uncommited suggestions in #612
1 parent 24cc0de commit 1bb54be

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/file.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@ module.exports = function(AV) {
7171
* @param data {Array} The data for the file, as either:
7272
* 1. an Array of byte value Numbers, or
7373
* 2. an Object like { base64: "..." } with a base64-encoded String.
74-
* 3. a Blob(File) { blob: {uri: "..."} } selected with a file upload control.
75-
* 4. a Buffer in Node.js runtime.
76-
* 5. a Stream in Node.js runtime.
74+
* 3. a Blob(File) selected with a file upload control in a browser.
75+
* 4. an Object like { blob: {uri: "..."} } that mimics Blob
76+
* in some non-browser environments such as React Native.
77+
* 5. a Buffer in Node.js runtime.
78+
* 6. a Stream in Node.js runtime.
7779
*
7880
* For example:<pre>
7981
* var fileUploadControl = $("#profilePhotoFileUpload")[0];

0 commit comments

Comments
 (0)