commit 2f671725b80ccaf25859e30e193d655c6e480100 parent 64f810dd5a00e327ccca60ed8f3bb7dc9fdb74ec Author: Simon Kornblith <simon@simonster.com> Date: Mon, 16 Aug 2010 08:48:55 +0000 disable caching of citeproc-js items (for now) Diffstat:
| M | chrome/content/zotero/xpcom/cite.js | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js @@ -98,11 +98,11 @@ Zotero.Cite.System._cache = new Object(); Zotero.Cite.System.retrieveItem = function(item){ if(item instanceof Zotero.Item) { - if(this._cache[item.id]) return this._cache[item.id]; + //if(this._cache[item.id]) return this._cache[item.id]; var zoteroItem = item; } else { // is an item ID - if(this._cache[item]) return this._cache[item]; + //if(this._cache[item]) return this._cache[item]; var zoteroItem = Zotero.Items.get(item); } @@ -190,7 +190,7 @@ Zotero.Cite.System.retrieveItem = function(item){ } } - this._cache[zoteroItem.id] = cslItem; + //this._cache[zoteroItem.id] = cslItem; return cslItem; };