Giter Site home page Giter Site logo

Comments (15)

ulfaslak avatar ulfaslak commented on June 1, 2024

Noooooooooooo.....

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

haha

from netwulf.

ulfaslak avatar ulfaslak commented on June 1, 2024

we are better than this

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

it's probably the sweetalert tbh.

from netwulf.

ulfaslak avatar ulfaslak commented on June 1, 2024

It actually works for me :).

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

found it. You seem to have switched to sweetalert2.all.min.js in index.html? But the functions in vis.js don't seem to have changed, at least the post to python did not. They're still written for sweetalert v1. Is there any reason you changed to v2?

from netwulf.

ulfaslak avatar ulfaslak commented on June 1, 2024

Hmmm.. I changed this long ago. v1 is not supported (developer gone missing), so v2 is the thing people are using now. I was getting errors with v1, so I switched.

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

okay... looking at the API of swal2 (https://sweetalert2.github.io/) I'm actually suprised that the code wirtten for v1 works at all, because it seems to be very different to what is demanded (e.g. Swal.fire vs swal). I agree that in the long term the alerts should be replaced by v2 alerts but could we for now go back to v1 so it works without us doing any major work? :D what do you think?

from netwulf.

ulfaslak avatar ulfaslak commented on June 1, 2024

Yeeeah ok you're right this is all messed up. We can switch, but I was getting errors before, so it will probably cause some errors again. For the sake of development, let's switch now, and then move to v2 later.

from netwulf.

ulfaslak avatar ulfaslak commented on June 1, 2024

I updated the code in https://github.com/ulfaslak/network_styling_with_d3/ to sweetalert2. netwulf works fine for me now.

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

whoa, super fast! works like a charm, thanks :)

One thing: the alerts have a serif font, now. Do they have that on your machine, too?

Screen Shot 2019-04-11 at 07 53 27

I could try changing that in the CSS if you agree. I bet it's something on my computer again though haha

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

saw that: sweetalert2/sweetalert2#846

would you mind me changing the font to some sans-serif like helvetica, arial ?

from netwulf.

ulfaslak avatar ulfaslak commented on June 1, 2024

Yes please go ahead, not a fan of Serif (doesn't look like that on my machine though).

from netwulf.

Related Issues (20)

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.