www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 46854b6b238d0e9d3df28e188c40aa9928abc0db
parent 4add3ec44c8c7b3868cb8ed2585d4de2e8be31cf
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date:   Tue,  6 Feb 2018 16:08:06 +0200

Amend comment regarding citationsByIndex keys sort order

Diffstat:
Mchrome/content/zotero/xpcom/integration.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -1517,7 +1517,7 @@ Zotero.Integration.Session.prototype.getCiteprocLists = function() { var fieldToCitationIdxMapping = []; var citationToFieldIdxMapping = {}; var i = 0; - // This relies on the order of citationsByIndex keys being stable and sorted by insertion order + // This relies on the order of citationsByIndex keys being stable and sorted in ascending order // Which it seems to currently be true for every modern JS engine, so we're probably fine for(let idx in this.citationsByIndex) { citations.push([this.citationsByIndex[idx].citationID, this.citationsByIndex[idx].properties.noteIndex]);