Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A basic project based on the TodoMVC project setup to serve as a example and test bed for the use of base JavaScript libraries of Backbone, Require and Wire.
JavaScript
Branch: master

Merge pull request #1 from kelle-connolly/wire_update

Updating wire lib to 0.8.0 stable
latest commit f530685159
@pieterv authored

README.md

Backbone, Require and Wire test project

A basic project based on the TodoMVC project setup to serve as a example and test bed for the use of base JavaScript libraries of Backbone, Require and Wire.

Installation

Install locally via git

$ git clone https://github.com/pieter-vanderwerff/backbone-require-wire.git

This includes all needed libs.

You will need a local web server to demo the project locally.

Demo

To see the application running you have two options:

By default the application will run in live mode, adding #dev to the end of the url will put it in dev mode, which means it will use all files rather than the built one.

Test

To access the unit test suite:

This always runs in dev mode.

Build

To install the build system you will need access to make for osx it comes with xcode command line tools, Node and NPM are also needed. Once you have these simply navigate to the js/todos/src directory and run make install.

$ cd js/todos/src
$ make install

All builds can then be run from the js/todos/src directory and with make command

$ cd js/todos/src
$ make

Libraries

This base application takes advantage of many libraries and plugins, here are the base ones:

  • Backbone
  • Underscore
  • jQuery
  • Handlebars
  • Require Handlebars plugin
  • Require
  • r.js
  • Wire
  • When
  • AOP
  • Jasmine
  • Sinon

See the _libs/README for more info on each.

Something went wrong with that request. Please try again.