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

chrome XHR (file:// protocal).... #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gregglind
Copy link

As I emailed you about (and in the commit message), chrome doesnt handle file:// in AJAX, so bundled a tiny python static file server. Might be useful! If you want to have a Ruby one, that is understandable as well!

Didn't change any of the jQuery stuff to 1.4.

Big fan of Sammy!

Cheers,

Gregg Lind

Chrome has a restrictive local file XHR policy that makes
the_json_store difficult to run as an example.  file://
requests are disallowed in Chrome Ajax calls.
A solution is to run a small web server.  For users
with python installed:

  cd <cloned the_json_store>
  python server.py [some_port]

cf: http://code.google.com/p/chromium/issues/detail?id=40787
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

Successfully merging this pull request may close these issues.

1 participant