Hello,
I could not find a way to contact the author directly on Observable, so please pardon me for posting it here.
This is the example I’m interested in:
-
I have a .NET MVC Web app and I would like to use this notebook inside my app.
My understanding is I need to get the license from the author if i’ll be using the code outside of Observable. I could not find any license associated with this notebook, so I was wondering what would be the best way to get the license from the author (for Enterprise use). -
Secondly, if I am allowed to use the codes in my Web app, I have a question regarding using notebook codes as local .js files.
I need to support the case where there is no/limited Interent (only Intranet available). So I usually reference all js files locally, not through https links.
Therefore, I will need to save these js files as local files inside my web app, and import from them (as opposed to https links).
For instance,
import {Runtime, Inspector} from “./ObservableHQ/runtime.js”;
import define from “./ObservableHQ/solar-path.js”;
I noticed that this solar-path.js referencese ./scrubber.js. Then srubber.js references ./disposal.js.
So it seems like I would need to grab those scrubber.js and disposal.js files as well and tweak the reference path in those files.
(For instance, change the observable path to local path in solar-path.js as below:
//import define1 from “/@mbostock/scrubber.js?v=3”;
import define1 from “./scrubber.js”;
)
I just wanted to see if this sounds like a reasonable approach for the cases that cannot use https links.
Thank you very much in advance.