js-stack

Standard JS SPA stack we use at netguru

Installation

Add this line to your application's Gemfile:

gem 'js_stack'

And then execute:

$ bundle

Usage

Modify application.coffee (you have to be using asset pipeline):

#= require js_stack

What's included?

backbone.js 1.0.0

http://backbonejs.org/

#= require js_stack/backbone

marionette.js 1.1.0

https://github.com/marionettejs/backbone.marionette/tree/master/docs

#= require js_stack/marionette

backbone.stickit 0.6.3

http://nytimes.github.io/backbone.stickit/

#= require js_stack/backbone.stickit

backbone.validation 0.8.1

https://github.com/thedersen/backbone.validation

#= require js_stack/backbone.validation

backbone-associations 0.5.1

http://dhruvaray.github.io/backbone-associations/

#= require js_stack/backbone.associations

backbone-pageable 1.3.2

https://github.com/wyuenho/backbone-pageable

#= require js_stack/backbone.pageable

backbone.deepmodel 0.10.4

https://github.com/powmedia/backbone-deep-model

#= require js_stack/backbone.deepmodel

backbone-virtualcollection 0.4.5

https://github.com/p3drosola/Backbone.VirtualCollection

#= require js_stack/backbone.virtualcollection

hamlcoffee 1.x

https://github.com/netzpirat/haml_coffee_assets

#= require js_stack/hamlcoffee

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request