All Projects → airbnb → Backpack

airbnb / Backpack

Licence: other
A pack of UI components for Backbone projects. Grab your backpack and enjoy the Views.

Labels

This project is deprecated and no longer being maintained.

______            _                     _      _        |
| ___ \          | |                   | |    (_)       |  A pack of UI components for Backbone projects.
| |_/ / __ _  ___| | ___ __   __ _  ___| | __  _ ___    |  Grab your backpack and enjoy the Views. 
| ___ \/ _` |/ __| |/ / '_ \ / _` |/ __| |/ / | / __|   |
| |_/ / (_| | (__|   <| |_) | (_| | (__|   < _| \__ \   |
\____/ \__,_|\___|_|\_\ .__/ \__,_|\___|_|\_(_) |___/   |
                      | |                    _/ |       |
                      |_|                   |__/        |

Visit the Backpack.js User Guide

Quick Start

  1. git clone [email protected]:airbnb/backpack.js.git
  2. cd backpack.js && open example/index.html

Hack on Backpack

Quick Start

  1. git clone [email protected]:airbnb/backpack.js.git
  2. cd backpack.js && npm install

Cake Build Tools

The Cakefile defines the following tasks:

cake compile        # Compile CoffeeScript source files
cake build          # Creates /lib_path/Backpack-bundle.js & /lib_path/Backpack-bundle.min.js & /lib_path/js/*.js
cake test           # Opens Jasmine SpecRunner. Watches BackpackSpec-Bundle.js for changes
cake docs           # Generate annotated source code with Docco
cake watch          # Recompile CoffeeScript source files when modified to Backpack-bundle.js
cake watch:js       # Recompile CoffeeScript source files when modified to individual .js files

Testing

Backpack.js tests are written using jasmine with sinon.js and jasmine-sinon.

You can run the test suite with cake test.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].