Git Product home page Git Product logo

Comments (5)

fabien-d avatar fabien-d commented on June 8, 2024

Strange... can you try pasting the following in the console on http://fabien-d.github.com/alertify.js/ and see if you can reproduce?

data = { name: "test" }
alertify.log(data.name + ' has disconnected!', 'error', 5000);

or using the error shorthand.

data = { name: "test" }
alertify.error(data.name + ' has disconnected!', 5000);

I've tried both in chrome on OS X and don't have an issue clicking to close, or changing the 5000 to any value.

from alertify.js.

kyleknighted avatar kyleknighted commented on June 8, 2024

I tried using the alertify.error(data.name + ' has disconnected!', 5000); method, but that's not working either.
I'm assuming there is a conflict with my other micro-libs I am using.

I followed the URL you linked to, but I do not see an interactive console for me to paste anything into. But your example Log messages at the bottom work as expected.

from alertify.js.

fabien-d avatar fabien-d commented on June 8, 2024

If you're using chrome.. you can hit cmd+alt+j to pull up the console or View > Developer > JavaScript Console. You'll be able to use the console there.

But it does sound like a conflict... if you have a hard time debugging, you can post (or send me a DM) with more code, I can take a look.

from alertify.js.

kyleknighted avatar kyleknighted commented on June 8, 2024

Ah, that console. Sorry. I was thinking you had some type of interactive
console on the website...

I realized it wasn't the JavaScripts fault.
I didn't update to the newer CSS. So, none of the transitions were firing.

Thanks for the help!

Fabien Doiron wrote:

If you're using chrome.. you can hit |cmd+alt+j| to pull up the
console or View > Developer > JavaScript Console. You'll be able to
use the console there.

But it does sound like a conflict... if you have a hard time
debugging, you can post (or send me a DM) with more code, I can take a
look.


Reply to this email directly or view it on GitHub
#103 (comment).

from alertify.js.

fabien-d avatar fabien-d commented on June 8, 2024

No problem, glad you were able to sort it out.

from alertify.js.

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.