commit db89c65596d28e7839e1607e0446ccc7454297e8 parent 9d7509ae130db43b490a7d808c50d30ab41a362b Author: Simon Kornblith <simon@simonster.com> Date: Fri, 10 Feb 2012 01:46:47 -0500 More antiquated code cleanup Diffstat:
| M | chrome/content/zotero/xpcom/data/item.js | | | 10 | ---------- |
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -3294,11 +3294,6 @@ Zotero.Item.prototype.__defineGetter__('attachmentText', function () { if (cacheFile.exists()) { var str = Zotero.File.getContents(cacheFile); - // TODO: remove post-Fx3.0 - if (!str.trim) { - return Zotero.Utilities.trim(str); - } - return str.trim(); } return ''; @@ -3355,11 +3350,6 @@ Zotero.Item.prototype.__defineGetter__('attachmentText', function () { return ''; } - // TODO: remove post-Fx3.0 - if (!str.trim) { - return Zotero.Utilities.trim(str); - } - return str.trim(); });