commit d2a518163778e765f53e83ba05e8a72076766ea0
parent 14341ca16ce201405a9f8739757910ed9c2a153c
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 7 Apr 2016 21:09:08 -0400
Clarify/correct a couple Zotero.Item file method comments
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js
@@ -2172,7 +2172,7 @@ Zotero.Item.prototype.getFilePath = function () {
/**
- * Get the absolute path for the attachment, if it exists
+ * Get the absolute path for the attachment, if the file exists
*
* @return {Promise<String|false>} - A promise for either the absolute path of the attachment
* or false for invalid paths or if the file doesn't exist
@@ -2291,7 +2291,6 @@ Zotero.Item.prototype.getFilePathAsync = Zotero.Promise.coroutine(function* () {
});
-
/**
* Update file existence state of this item and best attachment state of parent item
*/
@@ -2354,8 +2353,6 @@ Zotero.Item.prototype.getFilename = function () {
/**
* Asynchronous cached check for file existence, used for items view
- *
- * This is updated only initially and on subsequent getFilePathAsync() calls.
*/
Zotero.Item.prototype.fileExists = Zotero.Promise.coroutine(function* () {
if (!this.isAttachment()) {