GithubHelp home page GithubHelp logo

Comments (5)

cdimascio avatar cdimascio commented on June 1, 2024

i am not able to repro this issue on version 0.8.6.
can you verify that you are using the es5 example with es5 and/or the es6 example with es6?
please paste the code you are using. i will run that as well in attempt to repro

from dbpedia-sparql-client.

andorfermichael avatar andorfermichael commented on June 1, 2024

I have added you to the project as a collaborator (I have to keep it private for now). Clone it and run "npm install" plus "bower install". Afterwards run the web application with "ember s" and then press the start button on the homepage. In the console you will see the error. The error causing code is located in app/components/cesium-widget.js

from dbpedia-sparql-client.

cdimascio avatar cdimascio commented on June 1, 2024

Hi
I loaded up your code and was able to repro the issue. Thanks!
I had to make some adjustments to enable dbpedia-sparl-client to work in
the browser. It was previously written to work only in the Node runtime.

All in all, I have it working with your code base.

Here is what to do:
Upgrade dbpedia-sparql-client to the latest i.e. 0.9.1

in cesium-widget.js, import the module as follows:

import dp from 'npm:dbpedia-sparql-client';
const dps = dp.default;

Note, the second line, dp.default. At the moment, this is necessary. There
seems to be some interference with module loader. I need to look into it a
bit more. I'm not sure if the problem is on my end or if it has to do with
the loader and/or loader config. All in all, it will work with the above
code.

Let me know how it goes,

Thanks for the issue submission.

-carmine

On Sat, Apr 30, 2016 at 7:09 AM, Michael Andorfer [email protected]
wrote:

I have added you to the project as a collaborator (I have to keep it
private). Clone it and run "npm install" plus "bower install". Afterwards
run the web application with "ember s" and then press the start button on
the homepage. In the console you will see the error. The error causing code
is located in app/components/cesium-widget.js


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)

from dbpedia-sparql-client.

andorfermichael avatar andorfermichael commented on June 1, 2024

Hi Carmine

Everything works as expected now.

Thank you very much for your quick response and reaction.

I think it is really nice to be able to use your helpful and modern module not only in the node environment but also in the browser.

By the way, you have a typo in your README.md "npm install dbpediq-sparql-client". The q has to be an a. :)

Again thank you very much. 👍

from dbpedia-sparql-client.

cdimascio avatar cdimascio commented on June 1, 2024

Sure thing. I'll update the README as well. Thanks!

On Sun, May 1, 2016 at 7:34 AM, Michael Andorfer [email protected]
wrote:

Closed #1 #1.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)

from dbpedia-sparql-client.

Related Issues (2)

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.