Git Product home page Git Product logo

Comments (2)

poeschko avatar poeschko commented on July 30, 2024

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.

portokallidis avatar portokallidis commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.