Scaffold: Fix MARC template, update copyright (#3856)

This commit is contained in:
Sebastian Karcher 2024-03-18 12:17:48 -04:00 committed by GitHub
parent 1eaff8110c
commit 6d02076a1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2022 YOUR_NAME <- TODO
Copyright © 2024 YOUR_NAME <- TODO
This file is part of Zotero.

View file

@ -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);