Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plotly histogram): Updated to continuous plotting of histogram (run 2) #18

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

2 changes: 1 addition & 1 deletion examples/plotly.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ function plot() {
type: 'histogram'
}]);

}
}
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";
scriptBoxCraft.src = "https://boostlet.org/dist/boxcraft.min.js";
// scriptBoxCraft.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
8 changes: 4 additions & 4 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 All @@ -247,8 +247,8 @@

}

var codeurl = 'https://github.com/mpsych/boostlet/blob/main/examples/';
// var codeurl = 'https://github.com/shrutivarade/boostlet/blob/main/examples/';
// var codeurl = 'https://github.com/mpsych/boostlet/blob/main/examples/';
var codeurl = 'https://github.com/shrutivarade/boostlet/blob/main/examples/';

for (e in examples) {

Expand Down
5 changes: 3 additions & 2 deletions src/frameworks/canvasFallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ export class CanvasFallback extends Framework {
select_box(callback) {
let scriptBoxCraft = document.createElement("script");
scriptBoxCraft.type = "text/javascript";
scriptBoxCraft.src = "https://boostlet.org/dist/boxcraft.min.js";
// scriptBoxCraft.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
9 changes: 9 additions & 0 deletions submodule/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

This submodule will help us link to the latest commit of the Project **Boxcraft** hosted at repository [https://github.com/shrutivarade/BoxCraft].

## Initialize submodule locally

Run the following command to initialize the submodule folder with all the required files from the submodule repository:
```bash
git submodule init
git submodule update
```


## Local Build process

Run the following command to build both the projects sequentially and create boostlet.min.js and boxcraft.min.js at ./dist of the min project:
Expand Down