Skip to content

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.

Notifications You must be signed in to change notification settings

pieterv/backbone-require-wire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published