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
You can require specific version of library:
#= require js_stack/base/<lib_name>/<version>
#= require js_stack/plugins/<lib_name>/<plugin_name>/<version>
Examples:
#= require js_stack/base/backbone
#= require js_stack/base/backbone/1.0.0
#= require js_stack/plugins/backbone.stickit
#= require js_stack/plugins/backbone/stickit/0.7.0
#= require js_stack/plugins/cocktail
#= require js_stack/plugins/cocktail/0.5.8
You cannot specify version for
hamlcoffee,momentjsandjs_routes
What's included?
Base
| Library | Versions | Changelog | Homepage |
|---|---|---|---|
| backbone | 1.2.3, 1.1.2, 1.0.0 | changelog | homepage |
| marionette | 2.4.3, 2.3.2, 2.2.2, 2.1.0, 2.0.3, 1.8.8, 1.7.4, 1.6.4, 1.5.1, 1.4.1, 1.1.0 | changelog | homepage |
| underscore | 1.8.3, 1.7.0, 1.6.0, 1.5.2 | changelog | homepage |
| hamlcoffee | 1.16 | changelog | homepage |
| js-routes | 1.1.1 | changelog | homepage |
Plugins
| Library | Versions | Changelog | Homepage |
|---|---|---|---|
| backbone associations | 0.6.2, 0.5.5 | changelog | homepage |
| backbone deepmodel | 0.10.4 | changelog | homepage |
| backbone mutators | 0.4.5 | changelog | homepage |
| backbone pageable | 1.4.8, 1.3.2 | changelog | homepage |
| backbone paginator | 2.0.2 | changelog | homepage |
| backbone routefilter | 0.2.1 | changelog | homepage |
| backbone stickit | 0.9.2, 0.8.0, 0.7.0, 0.6.3 | changelog | homepage |
| backbone validation | 0.11.5, 0.9.2, 0.8.1 | changelog | homepage |
| backbone virtualcollection | 0.6.6, 0.5.3, 0.4.15 | changelog | homepage |
| cocktail | 0.5.10 | None | homepage |
| momentjs | 2.10.6 | changelog | homepage |
| underscore inflections | 0.2.1 | None | homepage |
| underscore string | 3.2.2, 3.0.3, 2.4.0, 2.3.2 | changelog | homepage |
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Copyright (c) 2013-2014 Netguru. See LICENSE for further details.