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)),
|
||||
|
||||
/**
|
||||
* Promise版的`lib.init.req`
|
||||
* Promise版的`lib.init.json`
|
||||
*
|
||||
* @param {string} str - 要读取的地址
|
||||
* @param {string} [master]
|
||||
* @returns {Promise<ProgressEvent>}
|
||||
* @param {string} url - 要读取的地址
|
||||
* @returns {Promise<object>}
|
||||
*/
|
||||
json:(url)=>new Promise((resolve,reject)=>lib.init.json(url,resolve,reject)),
|
||||
|
||||
|
|
Loading…
Reference in New Issue