Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If the JS is embedded within the HTML file it should’ve always worked, but when the HTML loads the JS file from somewhere else (that isn’t a relative path or a full URL that’s hosted somewhere else) it would usually fail, thus it wouldn’t work without running it through some kind of server that resolves the path


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: