Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
example/
docs/
assets/
spec/
src/
vendor/

.npmignore
.gitignore

Cakefile
README.md
82 changes: 0 additions & 82 deletions CAKEFILE

This file was deleted.

13 changes: 0 additions & 13 deletions LICENSE

This file was deleted.

54 changes: 1 addition & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,53 +1 @@
______ _ _ _ |
| ___ \ | | | | (_) | A pack of UI components for Backbone projects.
| |_/ / __ _ ___| | ___ __ __ _ ___| | __ _ ___ | Grab your backpack and enjoy the Views.
| ___ \/ _` |/ __| |/ / '_ \ / _` |/ __| |/ / | / __| |
| |_/ / (_| | (__| <| |_) | (_| | (__| < _| \__ \ |
\____/ \__,_|\___|_|\_\ .__/ \__,_|\___|_|\_(_) |___/ |
| | _/ | |
|_| |__/ |



### Visit the [Backpack.js User Guide](http://airbnb.github.com/backpack.js/)




## Quick Start

1. `git clone git@github.com:airbnb/backpack.js.git`
1. `cd backpack.js && open example/index.html`


----------------------------


## Hack on Backpack

### Quick Start

1. `git clone git@github.com:airbnb/backpack.js.git`
1. `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](http://pivotal.github.com/jasmine/) with [sinon.js](https://github.com/cjohansen/Sinon.JS) and [jasmine-sinon](https://github.com/froots/jasmine-sinon).

You can run the test suite with `cake test`.



# Backpack
Loading