fix(docs:lib/init): copied `lib.init.json` error.
This commit is contained in:
parent
f09377e5a5
commit
b716d2e6ba
|
@ -8412,11 +8412,10 @@
|
||||||
req:(str,master)=>new Promise((resolve,reject)=>lib.init.req(str,resolve,reject,master)),
|
req:(str,master)=>new Promise((resolve,reject)=>lib.init.req(str,resolve,reject,master)),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Promise版的`lib.init.req`
|
* Promise版的`lib.init.json`
|
||||||
*
|
*
|
||||||
* @param {string} str - 要读取的地址
|
* @param {string} url - 要读取的地址
|
||||||
* @param {string} [master]
|
* @returns {Promise<object>}
|
||||||
* @returns {Promise<ProgressEvent>}
|
|
||||||
*/
|
*/
|
||||||
json:(url)=>new Promise((resolve,reject)=>lib.init.json(url,resolve,reject)),
|
json:(url)=>new Promise((resolve,reject)=>lib.init.json(url,resolve,reject)),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue