• This repository has been archived on 08/Oct/2020
  • Stars
    star
    170
  • Rank 223,357 (Top 5 %)
  • Language
    JavaScript
  • Created about 13 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A set of jasmine powered koans for learning Backbone.js.

Backbone Koans

A set of jasmine powered koans for learning Backbone.js.

The koans verify behavior of a Todo list app, a modified version of the original Todos app created by Jรฉrรดme Gravel-Niquet.

How to Run

Start a local http server from the backbones folder:

python -m SimpleHTTPServer
(or 'python3 -m http.server' for python 3 users)

http://localhost:8000/

Some browsers such as Chrome don't like you making some json requests through the 'file' protocol, so just opening specrunner.html directly from a browser is not recommended.

On opening the localhost:8000 page in the browser you will see many failing specs. Work your way through the jasmine specs in the js/koans directory, and when you finish you should have a better understanding of how to create and test a Backbone app.