www

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

commit 16524113c79e70a3b08018fc8db37ee4700ff26e
parent 954677636ef1bd0dbdb69612550d33a07b50b35c
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 23 Jun 2016 03:01:36 -0400

Merge pull request #1046 from zuphilip/patch-2

Change const to var in utilities
Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -31,7 +31,7 @@ * Note that this is the reverse of the text variable map, since all mappings should be one to one * and it makes the code cleaner */ -const CSL_NAMES_MAPPINGS = { +var CSL_NAMES_MAPPINGS = { "author":"author", "editor":"editor", "bookAuthor":"container-author", @@ -47,7 +47,7 @@ const CSL_NAMES_MAPPINGS = { /* * Mappings for text variables */ -const CSL_TEXT_MAPPINGS = { +var CSL_TEXT_MAPPINGS = { "title":["title"], "container-title":["publicationTitle", "reporter", "code"], /* reporter and code should move to SQL mapping tables */ "collection-title":["seriesTitle", "series"], @@ -91,7 +91,7 @@ const CSL_TEXT_MAPPINGS = { /* * Mappings for dates */ -const CSL_DATE_MAPPINGS = { +var CSL_DATE_MAPPINGS = { "issued":"date", "accessed":"accessDate", "submitted":"filingDate" @@ -101,7 +101,7 @@ const CSL_DATE_MAPPINGS = { * Mappings for types * Also see itemFromCSLJSON */ -const CSL_TYPE_MAPPINGS = { +var CSL_TYPE_MAPPINGS = { 'book':"book", 'bookSection':'chapter', 'journalArticle':"article-journal",