Update Z.File.getSample() signature to match getBinaryContentsAsync()
Not updated with 2b41b0127c
This commit is contained in:
parent
f1373652e6
commit
b6d8571860
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ Zotero.File = new function(){
|
|||
/**
|
||||
* Get the first 200 bytes of a source as a string (multibyte-safe)
|
||||
*
|
||||
* @param {nsIURI|nsIFile|string spec|nsIChannel|nsIInputStream} source - The source to read
|
||||
* @param {string path|nsIFile|file URI} source - The source to read
|
||||
* @return {Promise}
|
||||
*/
|
||||
this.getSample = async function (file) {
|
||||
|
|
Loading…
Reference in a new issue