rails-backbone 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -5
- data/vendor/assets/javascripts/backbone.js +524 -392
- data/vendor/assets/javascripts/underscore.js +26 -17
- metadata +9 -9
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Backbone-Rails [![Build Status](https://secure.travis-ci.org/codebrew/backbone-rails.png)](http://travis-ci.org/codebrew/backbone-rails)
|
2
2
|
|
3
|
-
Easily setup and use backbone.js (0.
|
3
|
+
Easily setup and use backbone.js (0.9.1) with rails 3.1 and greater
|
4
4
|
|
5
5
|
Follow [@TheRyanFitz on Twitter](http://twitter.com/#!/TheRyanFitz). Tweet any questions or suggestions you have about the project.
|
6
6
|
|
7
|
-
## Rails
|
8
|
-
This gem requires the use of rails 3.1, coffeescript and the new rails asset pipeline provided by sprockets.
|
7
|
+
## Rails setup
|
8
|
+
This gem requires the use of rails 3.1 and greater, coffeescript and the new rails asset pipeline provided by sprockets.
|
9
9
|
|
10
10
|
This gem vendors the latest version of underscore.js and backbone.js for Rails 3.1 and greater. The files will be added to the asset pipeline and available for you to use.
|
11
11
|
|
@@ -32,7 +32,7 @@ Running `rails g backbone:install` will create the following directory structure
|
|
32
32
|
It will also create a toplevel app_name.coffee file to setup namespacing and setup initial requires.
|
33
33
|
|
34
34
|
## Generators
|
35
|
-
backbone-rails provides 3 simple generators to help get you started using backbone.js with rails 3.1.
|
35
|
+
backbone-rails provides 3 simple generators to help get you started using backbone.js with rails 3.1 and greater.
|
36
36
|
The generators will only create client side code (javascript).
|
37
37
|
|
38
38
|
### Model Generator
|
@@ -55,7 +55,7 @@ This generator creates a router, views, templates, model and collection to creat
|
|
55
55
|
|
56
56
|
## Example Usage
|
57
57
|
|
58
|
-
Created a new rails
|
58
|
+
Created a new rails application called `blog`.
|
59
59
|
|
60
60
|
rails new blog
|
61
61
|
|