From ec47a310006b7ad556a8d2fce789911f8b597141 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 29 Jul 2013 02:26:09 -0400 Subject: [PATCH] Fix warning in Nightly about yield without a value --- chrome/content/zotero/xpcom/integration.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 77a13f851..26d1b14f3 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -1553,7 +1553,7 @@ Zotero.Integration.Fields.prototype._updateDocument = function(forceCitations, f } catch(e) { Zotero.logError(e); } - yield; + yield undefined; } var citation = this._session.citationsByIndex[i]; @@ -1661,7 +1661,7 @@ Zotero.Integration.Fields.prototype._updateDocument = function(forceCitations, f } catch(e) { Zotero.logError(e); } - yield; + yield undefined; } if(bibliographyText) { @@ -2649,7 +2649,7 @@ Zotero.Integration.Session.prototype._updateCitations = function() { } this.citeprocCitationIDs[citation.citationID] = true; delete this.newIndices[index]; - yield; + yield undefined; } }