Skip to content

Commit

Permalink
Tweak naming, keep pre-6.4 edited script
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Aug 12, 2024
1 parent 697cf3d commit 353e9c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion previewers/betatest/js/voyager.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ function writeContent(fileUrl, file, title, authors) {
const fileName = fileUrl.substring(lastIndexOfChar + 1);
console.log(fileUrl);
$("voyager-explorer").attr("root", rootUrl).attr("model", fileName);
$.getScript("https://3d-api.si.edu/resources/js/v0.43.0/voyager-explorer.min.js");
//For Dataverse 6.4+, this can use the standard script:
//$.getScript("https://3d-api.si.edu/resources/js/v0.42.1/voyager-explorer.min.js");
$.getScript("lib/voyager-explorer.v0.42.1.gdcc.min.js");
}

0 comments on commit 353e9c8

Please sign in to comment.