Skip to content

Commit

Permalink
hosted on shrutivarade.github
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutivarade committed Apr 23, 2024
1 parent 9207089 commit 4979646
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions dist/boostlet.min.js

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

2 changes: 1 addition & 1 deletion dist/boostlet.min.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/segmentanything.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ function tryRun() {
// Load Boostlet script
let scriptBoostlet = document.createElement("script");
scriptBoostlet.type = "text/javascript";
scriptBoostlet.src = "https://boostlet.org/dist/boostlet.min.js";
// scriptBoostlet.src = "https://shrutivarade.github.io/boostlet/dist/boostlet.min.js";
// scriptBoostlet.src = "https://boostlet.org/dist/boostlet.min.js";
scriptBoostlet.src = "https://shrutivarade.github.io/boostlet/dist/boostlet.min.js";
// scriptBoostlet.src = "http://localhost:8000/dist/boostlet.min.js";
scriptBoostlet.onload = function() {
boostletLoaded = true;
Expand All @@ -26,9 +26,9 @@ document.head.appendChild(scriptBoostlet);
// Load BoxCraft script
let scriptBoxCraft = document.createElement("script");
scriptBoxCraft.type = "text/javascript";
scriptBoostlet.src = "https://boostlet.org/dist/boxcraft.min.js";
// scriptBoostlet.src = "https://boostlet.org/dist/boxcraft.min.js";
// scriptBoxCraft.src = "https://shrutivarade.github.io/BoxCraft/dist/boxCraft.min.js";
// scriptBoxCraft.src = "https://shrutivarade.github.io/boostlet/dist/boxcraft.min.js";
scriptBoxCraft.src = "https://shrutivarade.github.io/boostlet/dist/boxcraft.min.js";
// scriptBoxCraft.src = "http://localhost:8000/dist/boxcraft.min.js";
scriptBoxCraft.onload = function() {
boxCraftLoaded = true;
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@

var examples = ['sobel.js', 'segmentanything.js', 'imageCaptioning.js', 'plotly.js', 'trako.js', 'melanoma.js'];

var baseurl = 'https://raw.githubusercontent.com/mpsych/boostlet/main/examples/';
// var baseurl = 'https://raw.githubusercontent.com/mpsych/boostlet/main/examples/';
// var baseurl = 'https://raw.githubusercontent.com/gaiborjosue/boostlet/melanoma/examples/';
// var baseurl = 'http://localhost:5500/examples/';
// var baseurl = 'http://localhost:8000/examples/';
// var baseurl = 'https://raw.githubusercontent.com/shrutivarade/boostlet/main/examples/';
var baseurl = 'https://raw.githubusercontent.com/shrutivarade/boostlet/main/examples/';


for (e in examples) {
Expand Down
4 changes: 2 additions & 2 deletions src/frameworks/canvasFallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ export class CanvasFallback extends Framework {
select_box(callback) {
let scriptBoxCraft = document.createElement("script");
scriptBoxCraft.type = "text/javascript";
scriptBoostlet.src = "https://boostlet.org/dist/boxcraft.min.js";
// scriptBoostlet.src = "https://boostlet.org/dist/boxcraft.min.js";
// scriptBoxCraft.src = "https://shrutivarade.github.io/BoxCraft/dist/boxCraft.min.js";
// scriptBoxCraft.src = "https://shrutivarade.github.io/boostlet/dist/boxcraft.min.js";
scriptBoxCraft.src = "https://shrutivarade.github.io/boostlet/dist/boxcraft.min.js";
// scriptBoxCraft.src = "http://localhost:8000/dist/boxcraft.min.js";
let canvas = this.get_canvas();
document.head.appendChild(scriptBoxCraft);
Expand Down

0 comments on commit 4979646

Please sign in to comment.