bootbox via npm install " bootbox is not defined " #507

Open
ezekel opened this Issue Apr 2, 2016 · 1 comment

Projects

None yet

2 participants

@ezekel
ezekel commented Apr 2, 2016

I installed bootbox via npm and I used this code

 bootbox.alert("Hello world!", function() {
        console.log("Alert Callback");
    });

but it doesn't work I get error " bootbox is not defined ", how to require bootbox if I installed via npm ?

@makeusabrew
Owner

Hi @ezekel - could you provide a more complete example of your surrounding code, including how you're importing bootbox into the current scope?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment