Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8585951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:11:30+00:00 2026-06-11T22:11:30+00:00

Sorry this might be a total noob question I downloaded a backbone example app

  • 0

Sorry this might be a total noob question

I downloaded a backbone example app from github https://github.com/elfsternberg/The-Backbone-Store that, according to its README, “must be installed under a webserver in order to operate correctly.” Indeed, when I open the index file in Chrome, it just displays an html/css with no javascript functionality, with this error

XMLHttpRequest cannot load file:///Users/me/Sites/backbonestore/data/items.json. Origin null is not allowed by Access-Control-Allow-Origin.

I think this might be because of these links in the json data file

"url": "http://www.amazon.com/Door-Religious-Knives/dp/B001FGW0UQ/?tag=quirkey-20"

The tutorial says I need a webserver, even though it doesn’t use a database.

Is there a way to use webkit (I normally work in the Rails environment) when I’m not using Rails? If that’s not the problem, then can you explain how I might get it to work?

One difference between this backbone project and others I have looked at is that it has a make file. Do I have to do anything with that?

The make file

.SUFFIXES: .nw .js .pdf .html .tex 

NOTANGLE=       notangle
NOWEAVE=        noweave
ECHO=           /bin/echo

all: index.html store.js 

.nw.html:
    $(NOWEAVE) -filter l2h -delay -x -index -autodefs c -html $*.nw > $*.html

.nw.tex:
    $(NOWEAVE) -x -delay $*.nw > $*.tex             #$

.tex.pdf:
    xelatex $*.tex; \
    while grep -s 'Rerun to get cross-references right' $*.log; \
        do \
        xelatex *$.tex; \
    done

.nw.js:
    @ $(ECHO) $(NOTANGLE) -c -R$@ $<
    @ - $(NOTANGLE) -c -R$@ $< > $*.nw-js-tmp
    @ if [ -s "$*.nw-js-tmp" ]; then \
        mv $*.nw-js-tmp $@; \
    else \
        echo "$@ not found in $<"; \
    rm $*.nw-js-tmp; \
    fi  

store.js: backbonestore.nw
    @ $(ECHO) $(NOTANGLE) -c -R$@ $<
    @ - $(NOTANGLE) -c -R$@ $< > $*.nw-html-tmp
    @ if [ -s "$*.nw-html-tmp" ]; then \
        mv $*.nw-html-tmp $@; \
    else \
        echo "$@ not found in $<"; \
    rm $*.nw-tmp; \
    fi  

index.html: backbonestore.nw
    @ $(ECHO) $(NOTANGLE) -c -R$@ $<
    @ - $(NOTANGLE) -c -R$@ $< > $*.nw-html-tmp
    @ if [ -s "$*.nw-html-tmp" ]; then \
        mv $*.nw-html-tmp $@; \
    else \
        echo "$@ not found in $<"; \
    rm $*.nw-tmp; \
    fi  


clean:
    - rm -f *.tex *.dvi *.aux *.toc *.log *.out *.html *.js

realclean: clean
    - rm -f *.pdf
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:11:31+00:00Added an answer on June 11, 2026 at 10:11 pm

    Issue here is may be you are trying to access the application in chrome and there is a known issue in chrome which cannot open file paths if you see the file path starts with file:/// instead of file:// You can use any web server for that matter of fact just that you can access these path by a localhost url. try opening this same file in Firefox it should just work fine

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry, this might be a basic/stupid/noob question - I am just trying to tweak
Sorry for this simple question, but I can't solve it... There is an example:
This might be a dumb question. Sorry if it is. But Im working on
Sorry this might be a simple question, but I could not figure it out.
Sorry, I am still new using jquery so this might be an easy question.
Sorry, this question might sound silly, but I need some help! My project is
Ok sorry this might seem like a dumb question but I cannot figure this
Sorry for english this might be very basic Question, I have an Application where
Hey, this question might sound totally idiotic so I am sorry. I am a
First of all, sorry if this might be a stupid question. I'm very new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.