Sunday 30 July 2017

How to call function from browserify?

I have a function like so in my script.js file.function test(){ alert('test'); } and on the html page i include the bundle.js file that browserify creates.I call it in a script tag like so:but it doesn't work.Am i doing something wrong?

Submitted July 30, 2017 at 10:58PM by farhansyed7911

No comments:

Post a Comment