mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Scaffold: Fix evaluation of translator ending in single-line comment
This commit is contained in:
parent
dc60b10f00
commit
528ee8adac
1 changed files with 1 additions and 1 deletions
|
|
@ -1326,7 +1326,7 @@ var Scaffold = new function () {
|
|||
|
||||
metadata = JSON.stringify(metadata, null, "\t") + ";\n";
|
||||
|
||||
translator.code = metadata + "\n" + _editors.code.getValue();
|
||||
translator.code = metadata + "\n" + _getCode();
|
||||
|
||||
// make sure translator gets run in browser in Zotero >2.1
|
||||
if (Zotero.Translator.RUN_MODE_IN_BROWSER) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue