Skip to content

Commit cfa99ba

Browse files
authored
Merge pull request #33 from AtomGraph/pages-catalog-from-dist
The demo page reads the string catalog from beside the SEF, where the build already puts it
2 parents 65ed3b8 + dcfe53a commit cfa99ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// preload the vocabulary documents and the string catalog into the SaxonJS
1313
// document pool, so doc() resolves them synchronously during initialization
1414
const vocabs = ["vocabs/foaf.rdf", "vocabs/dcterms.rdf"];
15-
Promise.all([SaxonJS.getResource({ location: "src/translations.rdf", type: "xml" }), ...vocabs.map(href =>
15+
Promise.all([SaxonJS.getResource({ location: "dist/translations.rdf", type: "xml" }), ...vocabs.map(href =>
1616
SaxonJS.getResource({ location: href, type: "xml" }))])
1717
.then(([catalog, ...resources]) => {
1818
const pool = {};

0 commit comments

Comments
 (0)