Scaffold: Fix MARC template, update copyright (#3856)
This commit is contained in:
parent
1eaff8110c
commit
6d02076a1c
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
***** BEGIN LICENSE BLOCK *****
|
||||
|
||||
Copyright © 2022 YOUR_NAME <- TODO
|
||||
Copyright © 2024 YOUR_NAME <- TODO
|
||||
|
||||
This file is part of Zotero.
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ async function scrape(doc, url = doc.location.href) {
|
|||
translator.setTranslator('a6ee60df-1ddc-4aae-bb25-45e0537be973'); // MARC
|
||||
let MARC = await translator.getTranslatorObject();
|
||||
|
||||
let record = new MARC.Record();
|
||||
let record = new MARC.record();
|
||||
let item = new Zotero.Item();
|
||||
// ignore the table headings in lines[0]
|
||||
record.leader = text(lines[1], 'td', 4);
|
||||
|
|
Loading…
Reference in a new issue