From 07d89a62ef8ee571479a3808cd1dc5cfb3993b79 Mon Sep 17 00:00:00 2001 From: retorquere Date: Mon, 22 Jun 2015 15:39:34 +0200 Subject: [PATCH] upgrade error --- Rakefile | 2 +- chrome/content/zotero-better-bibtex/zotero-better-bibtex.coffee | 2 +- resource/translators/Collected Notes.coffee | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 82af0d20dc..fb59ad0837 100644 --- a/Rakefile +++ b/Rakefile @@ -203,7 +203,7 @@ DOWNLOADS = { 'xregexp-all-min.js' => 'http://cdnjs.cloudflare.com/ajax/libs/xregexp/2.0.0/xregexp-all-min.js', 'json5.js' => 'https://raw.githubusercontent.com/aseemk/json5/master/lib/json5.js', #'nunjucks.js' => 'https://mozilla.github.io/nunjucks/files/nunjucks.js', - 'htmlparser.js' => 'http://ejohn.org/files/htmlparser.js', + 'htmlparser.js' => 'https://raw.githubusercontent.com/blowsie/Pure-JavaScript-HTML5-Parser/master/htmlparser.js', } } DOWNLOADS[:chrome].each_pair{|file, url| diff --git a/chrome/content/zotero-better-bibtex/zotero-better-bibtex.coffee b/chrome/content/zotero-better-bibtex/zotero-better-bibtex.coffee index 89023ec485..ac64bf983a 100755 --- a/chrome/content/zotero-better-bibtex/zotero-better-bibtex.coffee +++ b/chrome/content/zotero-better-bibtex/zotero-better-bibtex.coffee @@ -328,7 +328,7 @@ Zotero.BetterBibTeX.attachDatabase = -> if @columnsHash('betterbibtex."-autoexport-"').context # sorry my dear colleague, but this was a mess else - @copyTable('betterbibtex."-autoexport-"', 'betterbibtex.autoexport', 'id') + @copyTable('betterbibtex."-autoexport-"', 'betterbibtex.autoexport', ['id', 'preserveBibTeXVariables']) ### cleanup ### diff --git a/resource/translators/Collected Notes.coffee b/resource/translators/Collected Notes.coffee index 4783a019d3..af9a52a790 100644 --- a/resource/translators/Collected Notes.coffee +++ b/resource/translators/Collected Notes.coffee @@ -12,6 +12,8 @@ class Report @data[0].items.push(item) unless @assigned[itemID] unpack: (collection, level) -> + return unless collection + level = {level, title: collection.name, items: []} pos = @data.length @data.push(level)