Hacker News new | ask | show | jobs
by babby 4327 days ago
I've done all of my client sidy test/prototyping javascript with plain .html and .js files.

<script src="app.js"></script> Should work in all browsers, at least on windows. It just looks for app.js relative to the root html file.

1 comments

I currently work with two apps that interact. One might generate a URL to the other. The base url is defined in a config file. I find it easier to just define 'localhost:PORT' for each app.