-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreload.js
More file actions
19 lines (18 loc) · 783 Bytes
/
preload.js
File metadata and controls
19 lines (18 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// @ts-check
import { Ccf } from "./src/ccf"
import { citeUnknown, CiteStyled } from "./src/cite"
import { letpub } from "./src/letpub"
import { pdf } from "./src/pdf"
import { zotero } from "./src/zotero"
window.exports = {
"ccf": { mode: "list", args: new Ccf("en") },
"ccf_cn": { mode: "list", args: new Ccf("cn") },
"letpub": { mode: "list", args: letpub },
"pdf_replace": { mode: "none", args: pdf },
"pdf_replace_linux": { mode: "none", args: pdf },
"zotero_search": { mode: "list", args: zotero },
"unknown_cite": { mode: "list", args: citeUnknown },
"apa_cite": { mode: "list", args: new CiteStyled("APA") },
"gbt_cite": { mode: "list", args: new CiteStyled("GB/T7714") },
"mla_cite": { mode: "list", args: new CiteStyled("MLA") },
};