commit ec47a310006b7ad556a8d2fce789911f8b597141
parent 2736e7e6d1aa2b6de7e104bbe857f9cf0060eb11
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 29 Jul 2013 02:26:09 -0400
Fix warning in Nightly about yield without a value
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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;
}
}