Skip to content

Commit

Permalink
build: add new build and bump version in the index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
biomadeira committed Nov 7, 2024
1 parent 795f5d3 commit 4d80117
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 4 deletions.
6 changes: 6 additions & 0 deletions bin/custom-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ export const objectDefaults = {
export const textDefaults = { ...objectDefaults };
export const rectDefaults = { ...objectDefaults };
export const lineDefaults = { ...objectDefaults };
export function toPositiveNumber(value) {
if (value < 0) {
throw new Error(`${value} is not a positive number`);
}
return value;
}
2 changes: 2 additions & 0 deletions dist/jd_viewers_0.0.11.bundle.min.js

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions dist/jd_viewers_0.0.11.bundle.min.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */

/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */

/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>jdistpatcher-viewers</title>
<script type="text/javascript" src="dist/jd_viewers_0.0.9.bundle.min.js" defer></script>
<script type="text/javascript" src="dist/jd_viewers_0.0.11.bundle.min.js" defer></script>
<link rel="stylesheet" href="static/style.css" type="text/css" media="all" />
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ebi-jdispatcher/jdispatcher-viewers",
"description": "Interactive Visual Output and Functional Prediction visualizations",
"version": "0.0.10",
"version": "0.0.11",
"module": "./dist/jd_viewers.bundle.js",
"exports": "./bin/jd-viewers-cli.js",
"main": "./bin/jd-viewers-cli.js",
Expand Down

0 comments on commit 4d80117

Please sign in to comment.