Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modular-backbone-updated gives an XMLHttpRequest error #47

Closed
SpencerCooley opened this issue Jul 29, 2012 · 1 comment
Closed

modular-backbone-updated gives an XMLHttpRequest error #47

SpencerCooley opened this issue Jul 29, 2012 · 1 comment

Comments

@SpencerCooley
Copy link

I have not played around with any of the code yet. I just opened up index.html in my browser and noticed the loading text never goes away. Looked at the console and saw this:

XMLHttpRequest cannot load file:///home/spencer/Desktop/backbonetutorials/examples/modular-backbone-updated/templates/home/main.html. Cross origin requests are only supported for HTTP.

and

Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101 line7 of text.js

@thomasdavis
Copy link
Owner

Hey @SpencerCooley , this error would have occured because there are different security restrictions at play when loading from file://, the example should be served from a webserver such that you can access it at http://

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants