File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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];
You can’t perform that action at this time.
0 commit comments