mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
docs(helpers/fromDataURI)
This commit is contained in:
@@ -8,10 +8,12 @@ var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse data uri to a Buffer or Blob
|
* Parse data uri to a Buffer or Blob
|
||||||
|
*
|
||||||
* @param {String} uri
|
* @param {String} uri
|
||||||
* @param {?Boolean} asBlob
|
* @param {?Boolean} asBlob
|
||||||
* @param {?Object} options
|
* @param {?Object} options
|
||||||
* @param {?Function} options.Blob
|
* @param {?Function} options.Blob
|
||||||
|
*
|
||||||
* @returns {Buffer|Blob}
|
* @returns {Buffer|Blob}
|
||||||
*/
|
*/
|
||||||
module.exports = function fromDataURI(uri, asBlob, options) {
|
module.exports = function fromDataURI(uri, asBlob, options) {
|
||||||
|
|||||||
Reference in New Issue
Block a user