Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Oct 13, 2023
1 parent f18ca32 commit 195ea5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions previewers/betatest/ROCrateDeltablot.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title class="rocratePreviewText">RO-Crate Preview</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="js/xss.js"></script>
<script type="module" src="js/rocrate-deltablot-module.js"></script>
<script src="js/rocrate-deltablot.js"></script>
<script src="lib/jquery.i18n.js"></script>
<script src="lib/jquery.i18n.messagestore.js"></script>
Expand Down Expand Up @@ -46,11 +47,6 @@ <h1 class="page-title rocratePreviewText">RO-Crate Preview</h1>
<div class='preview-container'>
<div class='preview-header'></div>
<div class='preview'>
<script type="module">
import { Builder } from 'https://unpkg.com/@deltablot/[email protected]/dist/main.js';
const deltablot = {};
deltablot.Builder = Builder;
</script>
<div id='ro-crate-metadata'></div>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions previewers/betatest/js/rocrate-deltablot-module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Builder } from 'https://unpkg.com/@deltablot/[email protected]/dist/main.js';

const deltablot = {};
deltablot.Builder = Builder;

0 comments on commit 195ea5e

Please sign in to comment.