Comments (2)
Not sure what we can do on the library's end to avoid this. Note that we're using rollup.js for bundling the library, not webpack.
from wolfram-notebook-embedder.
Sorry i havent put much effort in explaining the above use case.
It has nothing to do with the way this library is built.
I was referring to the bundled code in the Wolfram Public Cloud and the Wolfram Enterprise Private Cloud.
If you integrate the notebook embedder lib in a real life application which is bundled with Webpack then its most likely that it will conflict with the code fetched from Public Cloud or EPC (whatever is the source of the cloud notebook)
e.g. here is a sample js file fetched when trying to embed an example notebook from the public cloud.
Anyone trying to incorporate this lib into their apps will eventually run into this issue if they use Webpack and havent changed the default jsonp callback configuration.
This comment is to help people overcome this issue because at first we were clueless on how to debug this
or recommend Wolfram to update their webpack configuration to make the integration easier for others.
So the conflict arises due to the use of the default jsonp callback function name.
I hope i gave a better picture now
from wolfram-notebook-embedder.
Related Issues (15)
- Punctuation rendering is abnormal HOT 1
- Method to generate /statichtml/ version of the current state of the embedded notebook HOT 1
- Control the notebook from your JavaScript code HOT 1
- When I republish a notebook, it is not updated in the embed HOT 2
- Documentation of JSON expression representation HOT 4
- Improve package loading compatibility in documentation HOT 3
- evaluation events vs. manipulate
- DynamicModule variables names convention HOT 1
- css selectors for styling sections/subsections etc?
- Can't capture 'Rejected unsafe expression'
- getDynamicModuleVariable bug? HOT 3
- Side effect of unsafe values in setDynamicModuleVariable
- Embedding non-public notebooks? HOT 1
- Method to get all available DynamicModule variables? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wolfram-notebook-embedder.